Hacker News
points by rhdunn 3 days ago | 0 comments
JSON is better for modelling structured data and is easier to bind to internal application structures and classes (or generic maps and arrays). That (and native support in JavaScript) is why JSON grew in popularity.

XML is better for modelling mixed content data such as documents ((X)HTML, JATS, DocBook, etc.), images (SVG), or math (MathML). That is why XML is still used in publishing, standards, etc.

Aún no hay comentarios.
Hacker News