ParseObject_v2 Op

ParseObject

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 }

Full Name
  • Ops.Json.ParseObject_v2
Visibility
  • Core Op - visible for everyone
License
  • MIT
AuthorCreated
githubMaintained by Team


Example Patch Parse Object Example

Parses the JSON string {"foo":"bar"} into an object, then uses Ops.Json.ObjectGetString_v2 to read the value of foo and display "bar".

Open In Editor

INPUT PORTS


JSON String (String)

Json string in

OUTPUT PORTS


Result (Object)

Object out

Valid (booleanNumber)

Is true if the key is found


Changelog

Patches using ParseObject_v2

  • Examples
  • Public
  • My Patches