beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
ObjectGetObjectByPath
Ops.Json.ObjectGetObjectByPath
Namespace: Ops.Json
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"
}

doc

issues

youtube id

collections

related ops

Inputs

Object (Object)

json object


Path (String)

the path


Outputs

Output (Object)

the object


Found (boolean Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
ObjectGetObjectByPath - Example:


Credits


Examples using ObjectGetObjectByPath

Public Patches using ObjectGetObjectByPath