jsonlogic library

Classes

Jsonlogic
Jsonlogic evaluates the jsonlogic rules for the given data.

Functions

truth(dynamic v) bool

Typedefs

Applier = dynamic Function(dynamic rule, dynamic data)
Applier applies the rule on the given data. It is the first argument passed to the operator function.
Operator = dynamic Function(Applier applier, dynamic data, List params)
Operator applies the given operator on the list of params.

Exceptions / Errors

JsonlogicException
JsonlogicException is the base exception raised by all the functions in this library.