Unit xquery_json

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

This unit extends the XQuery interpreter with JSONiq

Including this unit in the uses clause will add JSONiq support to the xquery.TXQueryEngine. I.e.

1. It will activate the JSONiq syntax extensions for objects {...} and arrays [...]

2. It will activate the JSON literals: true, false, null

3. It will declare the jn namespace and add the following functions:
jn:keys, jn:members, jn:is-null, jn:json-doc, jn:null, jn:object, jn:parse-json, jn:size, pxp:json, pxp:serialize-json

Overview

Functions and Procedures

function parseJSON(const data: string; options: TParseJSONOptions = [pjoAllowMultipleTopLevelItems]): IXQValue;

Types

TParseJSONOption = (...);
TParseJSONOptions = set of TParseJSONOption;

Description

Functions and Procedures

function parseJSON(const data: string; options: TParseJSONOptions = [pjoAllowMultipleTopLevelItems]): IXQValue;
 

Types

TParseJSONOption = (...);
 
Values
  • pjoAllowMultipleTopLevelItems:  
  • pjoLiberal:  
  • pjoAllowTrailingComma:  
TParseJSONOptions = set of TParseJSONOption;
 

Author


Generated by PasDoc 0.14.0.