ParseObject_v2 Op
Parses a string to a JSON object
Summary (oneliner)
<p>Basically <code>JSON.parse()</code>, parses a string to an object. Valid objects are enclosed by <code>{}</code> and use double quotation marks for the keys, e.g.: </p> <pre><code>{ "foo": "bar", "baz": 123 } </code></pre>
- Ops.Json.ParseObject_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ParseObject Example
Parses a string {"foo": "bar"}
as an object and uses Ops.Json.ObjectGetValue to extract the key foo
(which is "bar"
)
INPUT PORTS
<p>Json string in</p>
OUTPUT PORTS
<p>Object out</p>
<i>boolean</i>
Number)<p>Is true if the key is found</p>