3 ms·
This article had a footnote linking to a snide Douglas Crockford retort to a blog post that was dismissive of JSON. The other discussion comments on that page a
by Schwolop 8y ago
This article had a footnote linking to a snide Douglas Crockford retort to a blog post that was dismissive of JSON. The other discussion comments on that page are a fascinating history of the arguments for and against, through the lens of 2006.
https://scripting.wordpress.com/2006/12/20/scripting-news-for-12202006/#comment-26383 https://scripting.wordpress.com/2006/12/20/scripting-news-fo...
- joatmon-snoo 8y agoWhoa, thanks for linking that. It's really interesting seeing all this talk about sandbox escapes. This is a particularly interesting quote: > One huge practical advantage to JSON over XML in the web browser is that you can load JavaScript from any site, while you’re restricted in which sites you can load XML from. I have no idea why browsers insist on limiting where you can load non-executable XML from, when they don’t bother to limit where you can load executable JavaScript from, but there you go: that’s how it is, and there’s nothing anybody can do about it. JSON nicely works around that limitation, instead of holding its breath and waiting until the world comes around to being fair. Surely you can appreciate that practical advantage.