JSON Dump Block

JSON Dump Block

The JSON Dump block attempts to serialize the inputs to a byte representation of a JSON object


  • x (dynamic): data that will be set as values of the output JSON


  • bytes: the serialized JSON object as bytes


  • Output Keys: The keys to add to the JSON object.
    • Label: The name of the input port corresponding to this value
    • Data Key: The name of the key that will be added to the JSON object
    • Encoding (Default | String): Select how the data will be encoded for output.
      • Default will attempt to encode to the corresponding numeric type (scalar, array, or matrix)
      • String will encode the the output value as a string. This is particularly useful if the input is bytes data that represents a string. For instance you can encode a JSON string and feed it as the input to another JSON Dump Block.