getExpressionParserJSONata()
getExpressionParserJSONata(
customInverse?:Partial<JSONataInverse>,customMeta?:ExpressionFunctionMetaRegistry):JSONataExpressionParser
Defined in: expr/src/parsers/getExpressionParserJSONata.ts:34
Generates a getExpression handler for
@react-querybuilder/core/parseJSONata!parseJSONata. Pass customInverse to add
functions/operators or override built-ins (merged over defaultJSONataInverse), and
customMeta to supply arity metadata for custom functions. The returned handler builds an
ExpressionNode from a JSONata operand subtree and auto-validates it, returning null
(rule dropped) for unknown functions/operators or arity mismatches — the import-side mirror of
getExpressionRuleProcessorJSONata.
Parameters
| Parameter | Type |
|---|---|
customInverse? | Partial<JSONataInverse> |
customMeta? | ExpressionFunctionMetaRegistry |
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.