Skip to main content

getExpressionRuleProcessorJsonLogic()

getExpressionRuleProcessorJsonLogic(serializers?: JsonLogicSerializerRegistry): RuleProcessor

Defined in: expr/src/processors/getExpressionRuleProcessorJsonLogic.ts:66

Generates a rule processor with expression support for use by formatQuery with the "jsonlogic" format. Pass custom serializers to add functions or override built-ins; they are merged over defaultJsonLogicSerializers. Rules without expressions, or with an unsupported operator, fall back to the stock processor.

Parameters

ParameterType
serializers?JsonLogicSerializerRegistry

Returns

RuleProcessor


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.