JSON Load Block

JSON Load Block

The JSON Load block attempts to parse the input bytes as JSON and output values from the specified keys

Inputs

  • JSON: bytes data to parse

Outputs

  • output_n (dynamic): Scalar or bytes signal corresponding to keys configured in the block parameters
  • Is Valid: A boolean representing whether the data is valid as determined by the Stale Age (ms) param

Parameters

  • Select Keys: The keys to extract from the JSON object. These will be output as individual signals from the block.
    • Key: The name of the key to extract from the JSON object
    • Type (Number | Bytes): Select whether the data should be interpreted as a scalar number, or bytes that will be parsed again downstream
  • Stale Age (ms) (default = 1000): Age from last valid data parsed when the block will output Is Valid as False