ObjectGetStringByPath Op

ObjectGetStringByPath

Finds a string at a position in an object defined by path


<p>useful when working with nested data structures.</p> <p>the path defines the way to the string. the stringwill be returned</p> <p>given an object like this:</p> <pre><code>{ &quot;data&quot;: { &quot;names&quot;: [ &quot;alyx&quot;,&quot;gordon&quot;,&quot;eli&quot;,&quot;g-man&quot;] } } </code></pre> <p>a path of data.names.1 will return <code>gordon</code>:</p>


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


INPUT PORTS


Object (Object)

<p>json object</p>

Path (String)

<p>the path (i.e. data.names)</p>

Output path if missing (Number:

<i>boolean</i>

)

OUTPUT PORTS


Output (String)

<p>the string</p>

Found (

<i>boolean</i>

Number)


Patches using ObjectGetStringByPath

  • Examples
  • Public
  • My Patches