Below is a json formatted weather report. I want to extract an array of the latest time stamp, and make it html. How can I achieve this?
{
"body": {
"20240619090000": {
"prefNumber": 44,
"observationNumber": 132,
"pressure": [
1006.7,
0
],
"normalPressure": [
1009.5,
0
],
"temp": [
24.3,
0
],
"humidity": [
66,
0
],
"snow": [
null,
5
],
"snow1h": [
0,
6
],
"snow6h": [
0,
6
],
"snow12h": [
0,
6
],
"snow24h": [
0,
6
],
"sun10m": [
10,
0
],
"sun1h": [
1,
0
],
"precipitation10m": [
0,
0
],
"precipitation1h": [
0,
0
],
"precipitation3h": [
0,
0
],
"precipitation24h": [
70.5,
0
],
"windDirection": [
16,
0
],
"wind": [
2.2,
0
],
"maxTempTime": {
"hour": 23,
"minute": 50
},
"maxTemp": [
24.8,
0
],
"minTempTime": {
"hour": 19,
"minute": 31
},
"minTemp": [
17.2,
0
],
"gustTime": {
"hour": 23,
"minute": 46
},
"gustDirection": [
16,
0
],
"gust": [
6.1,
0
]
},
"20240619091000": {
"prefNumber": 44,
"observationNumber": 132,
"pressure": [
1006.6,
0
],
"normalPressure": [
1009.4,
0
],
"temp": [
24.6,
0
],
"humidity": [
63,
0
],
"sun10m": [
10,
0
],
"sun1h": [
1,
0
],
"precipitation10m": [
0,
0
],
"precipitation1h": [
0,
0
],
"precipitation3h": [
0,
0
],
"precipitation24h": [
68,
0
],
"windDirection": [
15,
0
],
"wind": [
3.3,
0
],
"maxTempTime": {
"hour": 0,
"minute": 9
},
"maxTemp": [
25.4,
0
],
"minTempTime": {
"hour": 19,
"minute": 31
},
"minTemp": [
17.2,
0
],
"gustTime": {
"hour": 23,
"minute": 46
},
"gustDirection": [
16,
0
],
"gust": [
6.1,
0
]
}
}
}