string2JSON

SpecialNodes string2json

input ports:
Name Type Description Optional

input

string

external representation of JSON data

no

output ports:
Name Type Description Optional

output

?0

data of JSON-compatible type

no

string2JSON produces a data item of JSON-compatible type from an external representation of the data.. A JSON-compatible type is composed of strings, symbols, numbers, tuples, maps, lists, sets and vectors over JSON-compatible types. (See Transparency Types.)

string2JSON is roughly the same as JSON.parse() in Javascript.

The difference between binary2JSON and binary2JSON is only the type they take as input. string2JSON takes a string and binary2JSON takes a vector of unsigned bytes.