Please help! How to parse the JSON data from an IoT Platform

Here is the data from an IoT Platform, it’s called Antares.

My main purpose is to parse and select only the value of the JSON

I have successed get the data but fail to parse, for example :

  1. when I tap get latest data button, I want to show only “32” or “18”

I hope someone can help me to solve this problem, thanks in advance :slight_smile:

try this i think work
blocks

2 Likes

is json object just put data you are getting from api

yes, of course

I’m searching in google and found somehing but I don’t know how to use it, but should I use an extender like JSONTools Extension

you can find JSONTools in kodular no need of extension just search in designer
it’s under utilites category

3 Likes

This is the blok program I used

Why the result is like this?

Hey Mate.

1.The not found error is coz temperature key is lowercase (one of the rules of JSON)
2. if the keys names (like temperature and humidity) never change, just use a text join block with the key name and the key value returned for that JSON Key name and assign the text join result to the label1 text. Clear 'nuff?
Yell out if stuck.
Lildinti