ObjectGetObjectByPath Op
Returns the object 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 object . the given object will be returned</p> <p>given an object like this:</p> <pre><code>{ "data": { "persons": [ { "name": "alyx" }, { "name": "eli" }, { "name": "gordon" } ] } } </code></pre> <p>a path of <code>data.persons.1</code> will result in this object:</p> <pre><code>{ "name": "eli" } </code></pre>
- Ops.Data.JsonPath.ObjectGetObjectByPath
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ObjectGetObjectByPath - Example
INPUT PORTS
<p>json object</p>
<p>the path</p>
OUTPUT PORTS
<p>the object</p>
<i>boolean</i>
Number)