I'm having difficulties with the KIO4_DecoJson1 extension, specifically with JsonPath

(I'm using Google Translate) I'll try to be brief, since I'm new to App Inventor. I work on a personal project for an App that receives Mqtt data in JSON format, and represents them graphically as sensors. Doing the first tests, I try to decode a value with json format (array) using the blocks as shown in the image but I get "Error".

The data received via MQTT is the following:

{"Temperaturas":[19.94,25.37,20.37]}

And what I'm looking for is to obtain the separate values โ€‹โ€‹of the "Temperaturas" array.

Any idea what I'm missing? Beforehand thank you very much

No extension needed:

to get first data:

3 Likes

Thank you so much! This worked perfectly. :grinning:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.