parseJsonLogic
Converts a JsonLogic object into a DefaultRuleGroupType or DefaultRuleGroupTypeIC.
Functions
| Function | Description |
|---|---|
| isJsonLogicExpressionOperand | A JsonLogic comparison operand that is a candidate expression subtree: a plain object that is not a variable reference (i.e. an arithmetic/function operation object). The expr-supplied getExpression handler decides whether it maps to a known function. |
| isRQBJsonLogicVar | - |
| parseJsonLogic | Converts a JsonLogic object into a query suitable for the index!QueryBuilder QueryBuilder component's query or defaultQuery props (DefaultRuleGroupType). |
Interfaces
| Interface | Description |
|---|---|
| JsonLogicBetweenExclusive | - |
| JsonLogicBetweenInclusive | - |
| ParseJsonLogicExpressionContext | Context passed to ParseJsonLogicOptions.getExpression. |
| ParseJsonLogicOptions | Options object for parseJsonLogic. |
Type Aliases
| Type Alias | Description |
|---|---|
| JsonLogicExpressionOperand | A JsonLogic operand subtree that ParseJsonLogicOptions.getExpression may receive — an arithmetic/function operation object, a variable reference, or a literal. |
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.