ObjectGetNumberByPath Op
finds a number at a position in an object defined by path
Summary (oneliner)
useful when working with nested data structures.
the path defines the way to the number. the number will be returned
given an object like this:
{
"data": { "numbers": [ 1,2,3,4,5] }
}
a path of data.numbers.1
will return 2
:
Full Name
- 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
Object (Object)
json object
Path (String)
the past (i.e. person.age)
OUTPUT PORTS
Output (Number)
the number
Found (boolean Number)