{ "ns" : "http://jsoniq.org/functions", "description" : " This module provides the functions defined by the JSONiq specification,\n sections 1.7 (Functions) and 1.10 (Update Primitives). JSONiq extends\n the XQuery specification to also deal with JSON data natively. See\n http://jsoniq.org/\n for details.\n", "sees" : [ ], "authors" : [ "
This function decodes non-JSON types previously encoded with\n jn:encode-for-roundtrip.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "items", "type" : "item()", "occurence" : null, "description" : "This function decodes non-JSON types previously encoded with\n jn:encode-for-roundtrip.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "items", "type" : "item()", "occurence" : null, "description" : "This function recursively encodes non-JSON types in such a way that they\n can be serialized as JSON while keeping roundtrip capability.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "items", "type" : "item()", "occurence" : null, "description" : "This function recursively encodes non-JSON types in such a way that they\n can be serialized as JSON while keeping roundtrip capability.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "items", "type" : "item()", "occurence" : null, "description" : "For each item in the given sequence, this function returns the item itself,\n if it is not an array, or a sequence of items \"flattened-out\" from the array.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "items", "type" : "item()", "occurence" : null, "description" : "Returns the set of keys belonging to the objects found inside a given\n sequence of items.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "o", "type" : "item()", "occurence" : null, "description" : "Returns the items belonging to the arrays found inside a given sequence\n of items.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "a", "type" : "item()", "occurence" : null, "description" : "Returns the JSON null.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ ], "returns" : { "type" : "js:null", "description" : "The JSON null." }, "errors" : [ ] }, { "arity" : 1, "name" : "parse-json", "qname" : "jn:parse-json", "signature" : "($j as string?) as json-item()* external", "description" : " This function parses a given string as JSON and returns a sequence\n of Objects or Arrays.\n Please note that this function allows to parse sequences of whitespace\n separated objects and arrays.\n", "summary" : "This function parses a given string as JSON and returns a sequence\n of Objects or Arrays.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "j", "type" : "string", "occurence" : null, "description" : "This function parses a given string as JSON and returns a sequence\n of Objects or Arrays.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "j", "type" : "string", "occurence" : null, "description" : "For each item in the given sequence, this function returns the item itself,\n if it is not an object, or its \"projected\" copy if it is an object.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "items", "type" : "item()", "occurence" : null, "description" : "Returns the size of a JSON array, or the empty sequence if no array is given.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "a", "type" : "array()", "occurence" : null, "description" : "For each item in the given sequence, this function returns the item itself,\n if it is not an object, or its \"trimmed\" copy, if it is an object.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "items", "type" : "item()", "occurence" : null, "description" : "