By Noah | November 17, 2010
There’s been a lot of fuss lately about the widespread adoption of JSON for Web APIs, and a sense in some quarters that this represents a failure for XML. Norm Walsh has a new post summarizing the pros and cons of JSON vs. XML, and as usual, Norm has it exactly right:
(somewhat rearranging Norm’s text):
XML deals remarkably well with the full richness of unstructured data. I’m not worried about the future of XML at all even if its death is gleefully celebrated by a cadre of web API designers. […] I look forward to seeing what the JSON folks do when they are asked to develop richer APIs. When they want to exchange less well strucured [sic] data, will they shoehorn it into JSON?