ObjectGetNumberByPath Op
finds a number at a position in an object defined by path
Summary (oneliner)
<p>useful when working with nested data structures.</p> <p>the path defines the way to the number. the number will be returned</p> <p>given an object like this:</p> <pre><code>{ "data": { "numbers": [ 1,2,3,4,5] } } </code></pre> <p>a path of <code>data.numbers.1</code> will return <code>2</code>:</p>
- Ops.Data.JsonPath.ObjectGetNumberByPath
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ObjectGetNumberByPath - Example
INPUT PORTS
<p>json object</p>
<p>the past (i.e. person.age)</p>
OUTPUT PORTS
<p>the number</p>
<i>boolean</i>
Number)