Re: [xml-dev] XML vs JSON

From
Liam R. E. Quin <>
To
"G. Ken Holman" <>, Mukul Gandhi <>, "" <>
Date
2017-08-16T23:03:34Z
ID
<>
Thread
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

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

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