xdmp.jsonPointer( node as Node, path as String ) as Node?
Resolve a (relative) JSON pointer (see RFC 6901) in the context of a node and return the result, if any.
Parameters | |
---|---|
node | The JSON context node. |
path | The JSON pointer string. |
xdmp.jsonPointer({properties: {count: {type: "integer", minimum:0}, items: {type: "array", items: {type: "string", minLength: 1}}}},"/properties/count") => {"type":"integer", "minimum":0} xquery>
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.