JSON.parse() converts JSON text (from http responses, MQTT messages or
files) into script objects. The reverse β serialising an object to JSON text β
is done with the global string() function.
Functions
JSON.parse() β Parses a JSON string into an object.
JSON.stringify() β Serialises a value to JSON text β equivalent to the global string() for objects.