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
- Live blog: Code w/ Claude 2026 - 6th May 2026
- Vibe coding and agentic engineering are getting closer than I'd like - 6th May 2026
- LLM 0.32a0 is a major backwards-compatible refactor - 29th April 2026