ploeh blog
Read post

Worse is better: JSON versus XML

Mark Seemann argues that XML is technically superior to JSON as a data-interchange format, despite JSON's widespread adoption. He contends that XML's bad reputation stems from overengineered standards like SOAP, not from XML itself. XML offers a rich ecosystem of mature standards including schema languages (XSD), query languages (XQuery), streaming parsers, and native comment support — features JSON lacks or has had to reinvent via third-party tools like JSON Schema. Seemann acknowledges JSON's practical dominance and its natural fit for JavaScript-heavy SPAs and BFF services, but maintains that for interoperability and formal data exchange, XML's built-in tooling and schema support make it the stronger choice. He also notes that neither format is ideal for configuration files.

    #architecture
Jul 06•5m read time•From blog.ploeh.dk
Post cover image
Table of contents
Lightweight XML #Sweet spots #Where JSON shines #Size #Conclusion #
196.3K Impressions12 Comments
ploeh blog's image
ploeh blog

Authored by Mark Seemann, a software architect and consultant, this blog focuses on software design,...

34 Followers

•

575 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard