|
|
|
|
|
by rhdunn
1167 days ago
|
|
XML is good for documents that don't have a regular markup (XHTML, DocBook, JATS, MathML, etc.) where you can mix content elements -- e.g. italic annotations. JSON is good for structured data/records such as serialized data structures found in RPC protocols. They both have their own pros and cons that make them suited to different use cases. Choose the one that best suites your data model and use cases. |
|