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