Changes

Jump to navigation Jump to search
40 bytes removed ,  19:50, 18 July 2022
m
Text replacement - "\[\[#([^]:]+:[^|]+)\|([^]:]+:[^|]+)\]\]" to "{{Function||$1}}"
* <code>fn:json-doc($uri as xs:string, $options as map(*)) as item()?</code>
Retrieves the text from the specified URI, parses the supplied string as JSON text and returns its item representation (see [[#fn:parse-json{{Function||fn:parse-json]] }} for more details).
<syntaxhighlight lang="xquery">
* <code>fn:xml-to-json($node as node()?) as xs:string?</code>
Converts an XML node, whose format conforms to the results created by [[#fn:json-to-xml{{Function||fn:json-to-xml]]}}, to a JSON string representation. The allowed options can be looked up in the [https://www.w3.org/TR/xpath-functions-31/#func-xml-to-json specification].
<syntaxhighlight lang="xquery">
;Version 8.4
* Added: [[#String Constructors|String Constructors]], [[#fn:default-language{{Function||fn:default-language]]}}, [[#Enclosed Expressions|Enclosed Expressions]]* Updated: [[#Adaptive Serialization|Adaptive Serialization]], [[#fn:string-join{{Function||fn:string-join]]}}
;Version 8.2
* Added: [[#fn:json-to-xml{{Function||fn:json-to-xml]]}}, [[#fn:xml-to-json{{Function||fn:xml-to-json]]}}.
;Version 8.1
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu