I have the following JSON data:
{
"status": {
"status_code": 0,
"status_message": "SUCCESS"
},
"device_id": 89911454,
"type": "obs_st",
"source": "cache",
"summary": {
"pressure_trend": "falling",
"strike_count_1h": 0,
"strike_count_3h": 0,
"precip_total_1h": 0.0,
"precip_accum_local_yesterday": 0.0,
"precip_accum_local_yesterday_final": 0.0,
"precip_analysis_type_yesterday": 1,
"feels_like": 33.3,
"heat_index": 33.3,
"wind_chill": 33.3
},
"obs": [
[1600214324, 0, 0, 0, 0, 3, 1012.8, 33.3, 35, 27898, 1.94, 232, 0, 0, 0, 0, 2.56, 1, 0, null, null, 0]
]
}
I only want the value for "heat_index". In this case that "heat_index" = 33.3. I've not been able to figure out how. Can anyone give me a hand with this? Thanks for any help provided!
myJson['summary']['heat_index']work?