OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML vs JSON

On Tue, 2017-08-01 at 10:12 -0400, G. Ken Holman wrote:
> [long and fascinating account elided]

> I keep getting back to horses for courses:  use XML for generalized 
> interchange and use JSON for the tight binding between systems 
> sharing identical in-memory representations.

Another way to say this that I use, saying essentially the same thing,
is that JSON tends to win when the programmer is in control of the
format and XML tends to win when the author of the document (or data)
is in control.

But note also that when JSON is edited as text by people who are not
sufficiently careful or detail-oriented, errors can be harder to detect
and/or correct than with XML.


Liam Quin, W3C, http://www.w3.org/People/Quin/
Staff contact for Verifiable Claims WG, XQuery WG

Web slave for http://www.fromoldbooks.org/

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS