-
Notifications
You must be signed in to change notification settings - Fork 5
Operators
For a list of built-in JSONLogic operators see https://jsonlogic.com/operations.html.
[Documentation in progress]
Counts the number of items in an array.
Accepts two JSON array parameters, treats them as non-ordered sets, and returns a JSON array representing the set difference between the first and the second parameter.
Accepts a json pointer string and parses stringified JSON on the right of a '>' character.
Accepts two JSON array parameters, treats them as non-ordered sets, and determines if they are equal.
Accepts two JSON array parameters, treat them as non-ordered sets, and returns a JSON array representing the intersection of both sets.
Accepts a JSON array of rectangle ids, x and y coordinates and width, height and optional margin width. Returns an array of overlapping rectangle ids (inflated by the margin width).
Accepts a search string and regular expression as parameters. Returns the count of regular expression matches in the search string.
Accepts two JSON array parameters, treat them as non-ordered sets, and returns a JSON array representing the symmetric difference of both sets.
Accepts an array of key/value pairs as parameter. Return a JSON record.
Accepts a JSON node as parameter and returns the equivalent stringified JSON.
Accepts two JSON array parameters, treat them as non-ordered sets, and returns a JSON array representing the union of both sets.