Changes

Jump to navigation Jump to search
3 bytes added ,  12:35, 2 July 2020
m
Text replacement - "[http://www.w3.org/TR/x" to "[https://www.w3.org/TR/x"
This article is part of the [[XQuery|XQuery Portal]]. It provides a summary of the most important features of the [httphttps://www.w3.org/TR/xquery-31/ XQuery 3.1] Recommendation.
=Maps=
=Serialization=
Two [[Serialization]] methods have been added to the [httphttps://www.w3.org/TR/xslt-xquery-serialization-31 Serialization spec]:
==Adaptive Serialization==
* If an XML node of type {{Code|element(json)}} is found, it will be serialized following the serialization rules of the [[JSON Module]].
* Any other node or atomic value, map, array, or empty sequence will be serialized according to the [httphttps://www.w3.org/TR/xslt-xquery-serialization-31/#json-output rules in the specification].
The following two queries will both return the JSON snippet <code>{ "key": "value" }</code>:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu