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.
196.3K Impressions12 Comments