Parsing JSON - How do I get key pair values?

I am using the template to learn about parsing JSON data. The data is coming via a thingspeak account giving feeds from my greenhouse.

I can get the channel data fine, but I am struggling to parse the data as its inside square brackets. How would I need to parse to just get the field data?


Again use the look for pair key and walk at every level with the name fields

1 Like

Feeds is an array so try this

When working with json you could use to better visual the structure of your json


Thanks so much for that! and thanks for the weblink too. I need to learn more.

1 Like

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