Skip to main content

defaultJsonLogicSerializers

const defaultJsonLogicSerializers: JsonLogicSerializerRegistry

Defined in: expr/src/functions/jsonLogic.ts:10

Built-in "jsonlogic" serializers. Arithmetic (+ - * /), min/max, and mod (%) map to stock JSONLogic operators; abs, upper, and lower emit same-named custom operators (register them on your JSONLogic instance via jsonLogicExpressionOperators before applying the exported logic). Each function serializer is opts-first ((opts, ...args) => unknown); the built-ins ignore opts.


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.