Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
...
"statement": {
  ...
  "conditions": {
    "number": {
      "==": {"object.site_id": 1234},
      ">":  {"object.id": 9876}
    }
    "string": {
      "==": {"subject.email": "test@email.com"}
    }
  }
  ...
}

Since the parsing is forced you are able to for example send strings inside the number block. This will work, because the values get parsed according to which block they’re in.

...