Jump to navigation Jump to search
5 bytes added ,  15:21, 30 October 2014
| '''Summary'''
|Serializes the node specified by {{Code|$input}} as JSON, and returns the result as {{Code|xs:string}} instance. The node is expected to conform to the output created by the [[#json:parse|json:parse()]] function. All other items will be serialized as specified for the {{Code|json}} output method of the [[XQuery 3.1#serializationJSON Serialization|official specification]].<br />Items can also be serialized as JSON if the [[Serialization|Serialization Parameter]] {{Code|method}} is set to {{Code|json}}.<br/>The {{Code|$options}} argument can be used to control the way the input is serialized.
| '''Errors'''
Bureaucrats, editor, reviewer, Administrators


Navigation menu