Here is how I solved this:
M
Posts made by M5P4WEL
-
RE: Help needed: Reading a nested key value from a JSON.
-
Help needed: Reading a nested key value from a JSON.
I have spent a substantial amount of time trying to figure this out. Please assist.
I parse a JSON like this:
Here is what the JSON looks like:
How to get the value of "aqi", which in this case is 66.
I need to put this number in the empty 'if' place, and depending on it, the color of the LED will change.
Any help, much appreciated. Thanks!