Changes

Jump to navigation Jump to search
11 bytes added ,  23:09, 14 August 2011
no edit summary
[http://www.json.org/ JSON (JavaScript Object Notation)] is a popular data exchange format for applications written in JavaScript. This module contains [[Querying#Functions|XQuery functions]] to parse and serialize JSON documents. All functions are preceded by the <code>json:</code> prefix, which is linked to the <code><nowiki>http://www.basex.org/json</nowiki></code> namespace. The proposed JSON functions will be officially supported with <font color="red">Version 6.7.2</font> or <font color="red">6.8</font> of BaseX.
As there are notable differences between JSON and XML, no mapping exists that guarantees a lossless, bidirectional conversion between JSON and XML. For this reason, we offer two sets of functions in this module:
* [[JSON Functions#json:serialize-ml|json:serialize-ml]] and [[JSON Functions#json:parse-ml|json:parse-ml]] are used to transform XML to JSON and back.
The proposed JSON functions will be available with <font color="red">Version 6.7.2</font> or <font color="red">6.8</font> of BaseX.
==json:parse==
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu