XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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

I am still looking for a volunteer author to write a few paragraphs for the XML FAQ explaining what JSON is and why one might want to use it instead of XML.

Please form an orderly queue...

///Peter

On 18 August 2017 04:10:35 Mukul Gandhi <gandhi.mukul@gmail.com> wrote:

Thanks Elliotte, for your comments. I agree.

I think that query from a JSON document is possible via an API (after the output of JSON parse). This is not same in sense as querying an XML document (for e.g using XQuery or only XPath), but similar to for e.g the XML DOM APIs.

On 17 August 2017 at 23:57, Elliotte Rusty Harold <elharo@ibiblio.org> wrote:
The real advantage of XML is when you can integrate the whole
toolchain into your processing: schema validators, XPath, XSLT, etc.
If you just want to pass a few name value pairs and lists back and
forth, sure, use JSON.  But as the documents become complex and you
need to query and transform them, XML is a lot faster and more
relaible to develop for.



--
Regards,
Mukul Gandhi


[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