JSONPath and dot notation should be used to:
- Get single values from a nested JSON object
- Get values from JSON arrays via indexing and slicing
- Filter lists of JSONs using simple conditions (e.g.
==,!=,>,>=,<,<=)
core.transform.filter action.Tracecat’s JSONPath implementation is based on jsonpath-ng.
Basic Syntax
Replace
$ with ACTIONS.<action_name>.result or TRIGGER expression contexts.Dot Notation
Special Characters
Fields containing special characters like dots, dashes, or starting with$ can be accessed using quotes: