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.
More recent articles
- Useful patterns for building HTML tools - 10th December 2025
- Under the hood of Canada Spends with Brendan Samek - 9th December 2025
- Highlights from my appearance on the Data Renegades podcast with CL Kao and Dori Wilson - 26th November 2025