Changes

Jump to navigation Jump to search
28 bytes removed ,  20:03, 18 July 2022
no edit summary
| '''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 {{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: {{Function|JSON|json:doc}}
; Version 9.1
* Updated: {{Function|JSON|json:parse}} can be called with empty sequence.
;Version 9.0
;Version 7.7.2
* Updated: {{Code|$options}} argument added to {{Function|JSON|json:parse}} and {{Function|JSON|json:serialize}}.* Updated: {{Function|JSON|json:parse-ml}} and {{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