Skip to content

JSONPath: match

Plugin ID: eca_jsonpath

Available since: 1.0.0

Match nested data with JSONPath.

Fields

Data — config key: data

Token name or JSON string of nested data.
This field supports tokens.

Type: textarea · Required: no · Default: empty string

JSONPath — config key: jsonpath

JSONPath, e.g. $.items[?(@.id == 1)].
This field supports tokens.

Type: textfield · Required: no · Default: empty string

Match mode — config key: match_mode

Non-empty, or compare match count.
When using the "Defined by token" option, make sure there is a token with this name: eca_jsonpath_match_mode

Type: select · Required: no · Default: non_empty

Allowed values: non_empty, count, _eca_token, ''

Count comparison — config key: operator

Compare match count to the count value.
When using the "Defined by token" option, make sure there is a token with this name: eca_jsonpath_operator

Type: select · Required: no · Default: equal

Allowed values: equal, greaterthan, atleast, lessthan, atmost, _eca_token, ''

Count — config key: count

Number compared to the match count.
This field supports tokens.

Type: textfield · Required: no · Default: 0

Negate the condition — config key: negate

Negates the condition. Makes TRUE to FALSE and vice versa.

Type: checkbox · Required: no · Default: false