ObjectGetStringByPath_v2 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_v2
Visibility
  • Core Op - visible for everyone
License
  • MIT
AuthorgithubMaintained by Team


Op is missing in example patch!

Example Patch ObjectGetStringByPath - Example

Open In Editor

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 (booleanNumber)

Changelog

Patches using ObjectGetStringByPath_v2

  • Examples
  • Public
  • My Patches