Re: [xml-dev] use of JSON instead of XML

From
Andrew Welch <>
To
Michael Kay <>
Date
2018-06-26T14:15:29Z
ID
<CAEG2duD3tWupXMcxNjKOKer=pzUXcEFzGrmz9=qsc3VnaA=>
Thread
Re: [xml-dev] use of JSON instead of XML


On 26 June 2018 at 14:57, Michael Kay <[email protected]> wrote:


> On 26 Jun 2018, at 13:39, Peter Flynn <[email protected]> wrote:
>
> ...I am
> now starting to hear people saying that XML should never have been used
> for rectangular data in the first place — except that it was new and
> sexy at the time, and Microsoft were big enough to plug it.
>

It wasn't adopted for that purpose because it was new and sexy, or because of Microsoft backing, it was adopted because the only real alternative at the time was CSV which was hopelessly fragile. People were quite right to adopt XML for that use case even though it was over-engineered for the job. But that was 1998...

Michael 


I've always assumed it was because AJAX started life as XML... then the masses struggled to process the result of the AJAX call in the client side JS leading to JSON's discovery.   Maybe if AJAX was JSON from the start it would have been different.

Slight tangent: did MicroXML go anywhere?


--
Andrew Welch
http://andrewjwelch.com