Simon Willison’s Weblog

Subscribe

Has JSON pretty much replaced XML for string processing for the web, or are there use cases where XML is still necessary?

25th February 2012

My answer to Has JSON pretty much replaced XML for string processing for the web, or are there use cases where XML is still necessary? on Quora

It’s replaced XML as the default format for most APIs. XML is still necessary for Atom/RSS feeds and other existing standards built on top of XML. It’s also a better choice than JSON for markup-style data—stuff like XHTML where tags are applied to sequences of characters within larger chunks of text.

This is Has JSON pretty much replaced XML for string processing for the web, or are there use cases where XML is still necessary? by Simon Willison, posted on 25th February 2012.

Next: Who is the best conference panel moderator?

Previous: How can I sort a huge amount of numbers?