ObjectGetObjectByPath Op
Returns the object at the position defined by a path
Summary (oneliner)
useful when working with nested data structures.
the path defines the way to the object . the given object will be returned
given an object like this:
{
"data": {
"persons": [
{
"name": "alyx"
},
{
"name": "eli"
},
{
"name": "gordon"
}
]
}
}
a path of data.persons.1 will result in this object:
{
"name": "eli"
}
Full Name
- Ops.Data.JsonPath.ObjectGetObjectByPath
- Core Op - visible for everyone
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ObjectGetObjectByPath Example
INPUT PORTS
Object (Object)
json object
Path (String)
the path
OUTPUT PORTS
Output (Object)
the object
Found (booleanNumber)