ObjectGetStringByPath Op

ObjectGetStringByPath

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


useful when working with nested data structures.

the path defines the way to the string. the stringwill be returned

given an object like this:

{
    "data": { "names": [ "alyx","gordon","eli","g-man"] }
}

a path of data.names.1 will return gordon:


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


INPUT PORTS


Object (Object)

json object

Path (String)

the path (i.e. data.names)

Output path if missing (Number:boolean )

OUTPUT PORTS


Output (String)

the string

Found (boolean Number)

Patches using ObjectGetStringByPath

  • Examples
  • Public
  • My Patches