beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Json.ParseObject

ParseObject
op id:2c1e8e5d-980a-4716-aae6-22d189646509
Parses a string to a JSON object

summary (oneliner)

Basically JSON.parse(), parses a string to an object. Valid objects are enclosed by {} and use double quotation marks for the keys, e.g.:

{ "foo": "bar", "baz": 123 }

doc

issues

youtube id

collections

related ops

Inputs

JSON String (string Number)

The string to parse


Outputs

Result (Object)

The parses object


Valid (Number)

true if the string could be successfully parsed, false if it is not a valid object


ParseObject Example:

Parses a string {"foo": "bar"} as an object and uses Ops.Json.ObjectGetValue to extract the key foo (which is "bar")



Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using ParseObject

Public Patches using ParseObject