Changes

Jump to navigation Jump to search
No change in size ,  19:47, 18 July 2022
m
Text replacement - "\[\[#(json:[^|]+)\|(json:[^|]+)\]\]" to "{{Function|JSON|$1}}"
| '''Summary'''
|Serializes the specified {{Code|$input}} as JSON, using the specified {{Code|$options}}, and returns the result as string:
* The input is expected to conform to the results that are created by [[#json:parse{{Function|JSON|json:parse()]]}}.
* Non-conforming items will be serialized as specified in the [[XQuery 3.1#JSON Serialization|json output method]] of the official recommendation.
Values can also be serialized as JSON with the standard [[Serialization]] feature of XQuery:
;Version 9.4
* Added: [[#json:doc{{Function|JSON|json:doc]]}}
; Version 9.1
* Updated: [[#json:parse{{Function|JSON|json:parse]] }} can be called with empty sequence.
;Version 9.0
;Version 7.7.2
* Updated: {{Code|$options}} argument added to [[#json:parse{{Function|JSON|json:parse]] }} and [[#json:serialize{{Function|JSON|json:serialize]]}}.* Updated: [[#json:parse-ml{{Function|JSON|json:parse-ml]] }} and [[#json:serialize-ml{{Function|JSON|json:serialize-ml]] }} are now ''deprecated''.
The module was introduced with Version 7.0.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu