beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
ObjectGetStringByPath
Ops.Json.ObjectGetStringByPath
Namespace: Ops.Json
Finds a string at a position in an object defined by path

summary (oneliner)

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:

doc

issues

youtube id

collections

related ops

Inputs

Object (Object)

json object


Path (String)

the path (i.e. data.names)


Output path if missing (boolean /Number)

Outputs

Output (String)

the string


Found (boolean Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
ObjectGetStringByPath - Example:


Credits


Examples using ObjectGetStringByPath

Public Patches using ObjectGetStringByPath