Target Category: Arduino, Delfino, F280x, F281X, Generic MCU, Linux AMD64 and Raspberry Pi, Piccolo, STM32
Target Sub-Category: IoT
Blocks Sub-Category: Extensions > IoT
Inputs:
• json str: JSON input string.
• key str: Input string key.
Output:
• value str: Value extracted from the corresponding key string.
Description: The JSON Get Value block reads the JSON-formatted string and outputs the value of the specified key.
JSON Syntax Check: Validates the format of the JSON text string.
Key/Value Pairs: Indicates the number of key/value input pin pairs on the JSON Get Value block. When you exit the dialog, the input pins on the block are updated accordingly. You cannot use the Add Connector and Remove Connector commands on JSON blocks.
Packet Byte Size: Specifies the maximum buffer size of the data string. Larger strings are truncated to the maximum buffer size.
See Examples > Blocks > Extensions > IoT > JSON.