Serializer

[json/Serializer]


Serializes JSON into string.


Keywords: stringify, serialize, convert, JSON

Input ports

  • data: any

    Receives the data to be serialized.

  • pretty: boolean

    Whether to pretty-format the output string. (Indented with 2 spaces.)

Output ports

  • json: string

    Sends the serialized JSON.

  • error: string

    Sends error about unserializable JSON.

Last updated