How to separate the JSON string received by MQTT subscribers?

Jeff_wu
Jeff_wu Altair Community Member
edited April 2024 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
    Ragini
    Altair Employee
    edited April 2024

    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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.