Comparators

Comparator operations are declared using JSON with following structure:

{"field": "<fieldname>", "operator", "<operator>", "value": "<comparison value>"}

Available operators

Comparing contents of 2 fields

We can also compare contents of 2 fields by using comparison operators

{
     "field": "<fieldname1>",
     "operator": "<operator>",
     "value": {
         "operator": "get",
         "value": "<fieldname2>"
      }
}