ArrayGetArrayByPath Op
returns the array at the position defined by a path
Summary (oneliner)
useful when working with nested data structures.
the path defines the way to the array. the given array will be returned
given an array like this:
[
[
{
"firstName": "Gordon",
"lastName": "Freeman"
}
],
[
{
"firstName": "Eli",
"lastName": "Vance"
}
]
]
a path of 0 will result in this array:
[
{
"firstName": "Gordon",
"lastName": "Freeman"
}
]
Full Name
- Ops.Data.JsonPath.ArrayGetArrayByPath
- Core Op - visible for everyone
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ArrayGetArrayByPath Example
INPUT PORTS
Array (Array)
Path (String)
path to array (i.e. data.numbers)
OUTPUT PORTS
Output (Array)
array of values
Found (booleanNumber)