Skip to main content

parseJSONata()

Call Signature

parseJSONata(jsonataInput: string): DefaultRuleGroupType

Defined in: packages/react-querybuilder/src/utils/parseJSONata/parseJSONata.ts:44

Converts a JSONata string expression into a query suitable for the QueryBuilder component's query or defaultQuery props (DefaultRuleGroupType).

Parameters

ParameterType
jsonataInputstring

Returns

DefaultRuleGroupType

Call Signature

parseJSONata(jsonataInput: string, options: { fields: OptionList<FullField<Option, Option>> | Record<string, FullField<Option, Option>>; getValueSources: (field: string, operator: string) => ValueSources; listsAsArrays: boolean; } & { independentCombinators: false; }): DefaultRuleGroupType

Defined in: packages/react-querybuilder/src/utils/parseJSONata/parseJSONata.ts:50

Converts a JSONata string expression into a query suitable for the QueryBuilder component's query or defaultQuery props (DefaultRuleGroupType).

Parameters

ParameterType
jsonataInputstring
options{ fields: OptionList<FullField<Option, Option>> | Record<string, FullField<Option, Option>>; getValueSources: (field: string, operator: string) => ValueSources; listsAsArrays: boolean; } & { independentCombinators: false; }

Returns

DefaultRuleGroupType

Call Signature

parseJSONata(jsonataInput: string, options: { fields: OptionList<FullField<Option, Option>> | Record<string, FullField<Option, Option>>; getValueSources: (field: string, operator: string) => ValueSources; listsAsArrays: boolean; } & { independentCombinators: true; }): DefaultRuleGroupTypeIC

Defined in: packages/react-querybuilder/src/utils/parseJSONata/parseJSONata.ts:61

Converts a JSONata string expression into a query suitable for the QueryBuilder component's query or defaultQuery props (DefaultRuleGroupTypeIC).

Parameters

ParameterType
jsonataInputstring
options{ fields: OptionList<FullField<Option, Option>> | Record<string, FullField<Option, Option>>; getValueSources: (field: string, operator: string) => ValueSources; listsAsArrays: boolean; } & { independentCombinators: true; }

Returns

DefaultRuleGroupTypeIC


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.