[solved] Query REST json format

Hello all,

I’m new at this and am trying to parse json in Home Assistant. The source is here:

{“channel”:{“id”:385938,“name”:“PoolTemp”,“latitude”:“0.0”,“longitude”:“0.0”,“field1”:“temperature”,“created_at”:“2017-12-16T00:01:12Z”,“updated_at”:“2017-12-16T23:16:02Z”,“last_entry_id”:1386},“feeds”:[{“created_at”:“2017-12-16T23:16:03Z”,“entry_id”:1386,“field1”:“28.0”}]}

My configuration is here:

It currently results in a blank field.

Thanks in advance.

Matt.

OK. Using the template tool I have figured out the square brackets are causing the drama in the feed. Is there any way to parse those square brackets? I have tried all sorts of combinations but nothing seems to work.

OK. Disregard. I found the value is avalable from a different URL without square brackets

https://api.thingspeak.com/channels/385938/fields/1/last