Hii,

>From the document "Working with JSON" (available at
https://docs.marklogic.com/8.0/guide/app-dev/json) it does not seem
possible to detect in XQuery whether a document is a JSON document (as
opposed to an XML document).

That is, detecting from "fn:doc('abc.json')" that the document node is
holding a JSON document (other than looking at *.json in the URI).

Did I miss anything?

Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to