ArrayGetArrayByPath Op
returns the array at the position defined by a path
Summary (oneliner)
<p>useful when working with nested data structures. </p> <p>the path defines the way to the array. the given array will be returned</p> <p>given an array like this:</p> <pre><code>[ [ { "firstName": "Gordon", "lastName": "Freeman" } ], [ { "firstName": "Eli", "lastName": "Vance" } ] ] </code></pre> <p>a path of <code>0</code> will result in this array:</p> <pre><code> [ { "firstName": "Gordon", "lastName": "Freeman" } ] </code></pre>
- Ops.Data.JsonPath.ArrayGetArrayByPath
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ArrayGetArrayByPath - Example
INPUT PORTS
<p>path to array (i.e. data.numbers)</p>
OUTPUT PORTS
<p>array of values</p>
<i>boolean</i>
Number)