ObjectGetObjectByPath Op

ObjectGetObjectByPath

Returns the object at the position defined by a path


<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>{ &quot;data&quot;: { &quot;persons&quot;: [ { &quot;name&quot;: &quot;alyx&quot; }, { &quot;name&quot;: &quot;eli&quot; }, { &quot;name&quot;: &quot;gordon&quot; } ] } } </code></pre> <p>a path of <code>data.persons.1</code> will result in this object:</p> <pre><code>{ &quot;name&quot;: &quot;eli&quot; } </code></pre>


Full Name
  • Ops.Data.JsonPath.ObjectGetObjectByPath
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


Object (Object)

<p>json object</p>

Path (String)

<p>the path</p>

OUTPUT PORTS


Output (Object)

<p>the object</p>

Found (

<i>boolean</i>

Number)


Patches using ObjectGetObjectByPath

  • Examples
  • Public
  • My Patches