How to separate the JSON string received by MQTT subscribers?

Robbert Lee
Robbert Lee Altair Community Member
edited April 16 in Community Q&A

In the example(Example/Blocks/Extensions/IoT/MQTT/mqttJSONtest), MQTT publish  a JSON format with keys and values. The displayed string looks like "{"sin":"0.98545","saw":"0.35"}". How do I separate the JSON string and display the values in a plot?

 

Answers

  • Ragini Sahu_21863
    Ragini Sahu_21863
    Altair Employee
    edited April 16

    Hi Robert,

    Currently, we do not have any block which can separate the values in JSON string. This kind of block is under development and will be released soon.

     

    Thanks for your understanding,

    Ragini Sahu