We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 108ec73 commit 69b871eCopy full SHA for 69b871e
exist-core/src/main/java/org/exist/xquery/functions/fn/JSON.java
@@ -90,7 +90,7 @@ public class JSON extends BasicFunction {
90
static final FunctionSignature[] FS_JSON_TO_XML = functionSignatures(
91
FS_JSON_TO_XML_NAME,
92
"Parses a string supplied in the form of a JSON text, returning the results in the form of an XML document node.",
93
- returnsOpt(Type.ITEM, "The parsed data as XML"),
+ returnsOpt(Type.DOCUMENT, "The parsed data as XML"),
94
arities(
95
arity(
96
FS_PARAM_JSON_TEXT
0 commit comments