Changes

Jump to navigation Jump to search
1 byte added ,  15:53, 9 March 2023
no edit summary
| width='120' | '''Signature'''
|<pre>json:doc(
$uri href as xs:string,
$options as map(*)? := ()
) as item()?</pre>
|- valign="top"
| '''Summary'''
|Fetches the JSON document referred to by the given {{Code|$urihref}} and converts it to an XQuery value. The {{Code|$options}} argument can be used to control the way the input is converted.
|- valign="top"
| '''Errors'''
| width='120' | '''Signature'''
|<pre>json:parse(
$string value as xs:string?,
$options as map(*)? := ()
) as item()?</pre>
|- valign="top"
| '''Summary'''
|Converts the JSON {{Code|$stringvalue}} to an XQuery value. If the input can be successfully parsed, it can be serialized back to the original JSON representation. The {{Code|$options}} argument can be used to control the way the input is converted.
|- valign="top"
| '''Errors'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu