Signatures | json:serialize($input
as node()) as xs:string json:serialize($input
as node(), $options as map(xs:string, xs:string)) as
xs:string |
Summary | Serializes the node specified by $input as JSON, and returns
the result as xs:string instance. The node
is expected to conform to the output created by the json:parse() function. All other
items will be serialized as specified for the json output method of the official
specification.Items can also be serialized as JSON if the Serialization Parameter method is set to json .The $options argument can be used
to control the way the input is serialized. |