Skip to main content

JSON.ARRINDEX

Search for the first occurrence of a JSON value in an array.
1 min read

Arguments#

keystringrequired#

The key of the json entry.

pathstringrequired#

The path of the array. $ is the root.

valueTValuerequired#

The value to search for.

startinteger#

The start index.

Default: 0

stopinteger#

The stop index.

Default: 0

Response#

integer[]required

The index of the first occurrence of the value in the array, or -1 if not found.