Changes

Jump to navigation Jump to search
772 bytes added ,  00:02, 13 August 2011
==Examples==
 
'''Example 1: A basic example to convert an empty JSON document'''
'''Query:'''
'''Result:'''
<pre class="brush:xml"><json/></pre>
 
'''Example 2: Conversion of some simple objects and arrays'''
 
'''Query:'''
<pre class="brush:xquery">
json:parse('{
"title": "Talk On Travel Pool",
"link": "http://www.flickr.com/groups/talkontravel/pool/",
"description": "Travel and vacation photos from around the world.",
"modified": "2009-02-02T11:10:27Z",
"generator": "http://www.flickr.com/"
}')
</pre>
 
'''Result:'''
<pre class="brush:xml">
<json>
<title>Talk On Travel Pool</title>
<link>http://www.flickr.com/groups/talkontravel/pool/</link>
<description>Travel and vacation photos from around the world.</description>
<modified>2009-02-02T11:10:27Z</modified>
<generator>http://www.flickr.com/</generator>
</json>
</pre>
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu