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

ParseObject_v2 Op

Ops.Json.ParseObject_v2


ParseObject
Namespace: Ops.Json

Op author: pandur

Parses a string to a JSON object


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 }


Inputs

JSON String (String)

Json string in

Outputs

Result (Object)

Object out

Valid (Number)

Is true if the key is found

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

ParseObject Example

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

Open Example In Editor

Patches using ParseObject_v2

Changelog


created op
2019-09-06 - pandur