When asked why he had invented JSON when XML already existed, Douglas Crockford said:
The good thing about reinventing the wheel is that you can get a round one.
https://scripting.wordpress.com/2006/12/20/scripting-news-fo...
The good thing about reinventing the wheel is that you can get a round one.
https://scripting.wordpress.com/2006/12/20/scripting-news-fo...
Personally the only thing I miss from it is support for binary data - you end up having to base64 binary content which is a little messy.
The comma rules introduce diff noise on unrelated lines.
At this point XML is the backbone of many important technologies that many people won't use or won't use directly anymore.
This wasn't the case circa 2010, when I doubt any dev could have really avoided XML for a bunch of years.
I do like XML, though.