JSON is the de facto standard when it comes to (un)serialising and exchanging data in web and mobile programming. But how well do you really know JSON? We'll read the specifications and write test cases together. We'll test common JSON libraries against our test cases. I'll show that JSON is not the easy, idealised format as many do believe. Indeed, I did not find two libraries that exhibit the very same behaviour. Moreover, I found that edge cases and maliciously crafted payloads can cause bugs, crashes and denial of services, mainly because JSON libraries rely on specifications that have evolved over time and that let many details loosely specified or not specified at all.
3 comments
2 u/roznak 26 Oct 2016 21:09
2 u/roznak 26 Oct 2016 21:13
Finally a link to a page that actually does learn you about programming instead of these eLearnig Spammy links that are utterly worthless.
0 u/dchem [OP] 28 Oct 2016 22:28
You know the funny thing is that I've been posting mostly useful stuff, and each of those posts has been downvoted exactly twice.