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
- Experimenting with Starlette 1.0 with Claude skills - 22nd March 2026
- Profiling Hacker News users based on their comments - 21st March 2026
- Thoughts on OpenAI acquiring Astral and uv/ruff/ty - 19th March 2026