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
Parameter | Type |
---|---|
jsonataInput | string |
Returns
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
Parameter | Type |
---|---|
jsonataInput | string |
options | { fields : OptionList <FullField <Option , Option >> | Record <string , FullField <Option , Option >>; getValueSources : (field : string , operator : string ) => ValueSources ; listsAsArrays : boolean ; } & { independentCombinators : false ; } |
Returns
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
Parameter | Type |
---|---|
jsonataInput | string |
options | { fields : OptionList <FullField <Option , Option >> | Record <string , FullField <Option , Option >>; getValueSources : (field : string , operator : string ) => ValueSources ; listsAsArrays : boolean ; } & { independentCombinators : true ; } |
Returns
API documentation is generated from the latest commit on the main
branch. It may be somewhat inconsistent with official releases of React Query Builder.