JSON Create String Block
The JSON Create String block provides an encoding format for translating data into
text strings that can be sent and received over the internet. In its default
configuration, this block can create a single JSON string. It has three input pins
(enable, key1, value1) and one output pin (str).
- enable
- Initiates string creation at the specified interval
- keyx/valuex
- Indicates the number of key and value pairs
- str
- JSON string.
For multiple messages, each will require a separate key/value pair:
The number of multiple messages is set using the JSON Create String/
Key/Value Pairs parameter.