JMAP — reinventing IMAP
JMAP — reinventing IMAP
Posted Mar 27, 2016 19:42 UTC (Sun) by bronson (subscriber, #4806)In reply to: JMAP — reinventing IMAP by smurf
Parent article: JMAP — reinventing IMAP
Why wouldn't you install JSON Formatter and then click on arrows to navigate?
Posted Mar 27, 2016 20:05 UTC (Sun)
by zlynx (guest, #2285)
[Link] (1 responses)
Posted Mar 28, 2016 4:26 UTC (Mon)
by bronson (subscriber, #4806)
[Link]
Posted Mar 28, 2016 7:19 UTC (Mon)
by smurf (subscriber, #17840)
[Link] (3 responses)
IMHO, encoding some data into a protocol should be a function in the mathematical sense, i.e. any possible payload shall encode to exactly one datagram. JSON lets you play way too many games with whitespace, escaping and whatnot for that to be realistic.
And yes, computers are fast enough to eat JSON at mind-boggling speed these days, but if messagepack or smile or … can do the exact same thing with even less work (and no ambiguity), why not use that?
Posted Mar 28, 2016 7:32 UTC (Mon)
by Cyberax (✭ supporter ✭, #52523)
[Link] (2 responses)
> And yes, computers are fast enough to eat JSON at mind-boggling speed these days, but if messagepack or smile or … can do the exact same thing with even less work (and no ambiguity), why not use that?
Everything, and I mean it, EVERYTHING, in software should be designed with the assumption: "What is going to happen _when_ it breaks?"
Posted Mar 28, 2016 7:59 UTC (Mon)
by neilbrown (subscriber, #359)
[Link] (1 responses)
I can't see how this is at all relevant for JMAP. JMAP is currently only defined over HTTPS, and until wireshark can see inside TLS, it doesn't really matter if it can decode the JSON or not.
Posted Mar 28, 2016 8:01 UTC (Mon)
by Cyberax (✭ supporter ✭, #52523)
[Link]
JMAP — reinventing IMAP
JMAP — reinventing IMAP
JMAP — reinventing IMAP
JMAP — reinventing IMAP
Uhm. Wireshark supports JSON out of box. Try it.
Because once it breaks (and it WILL break, no doubt about it) debugging the breakage will be a nightmare.
JMAP — reinventing IMAP
JMAP — reinventing IMAP