I have a JSON file with a lot of temperatur data meassured every quarter hour and saved into a object in the file.
{"Temp_12:0": "26",
"Temp_12:15": "20",
"Temp_12:30": "25",
"Temp_12:45": "25",
"Temp_13:0": "26",
"Temp_13:15": "25",
"Temp_13:30": "26",
"Temp_13:45": "26"}
This is how the data is structurised in the file. I want to display the display the data on a webserver in my local network with ChartsJS. The Problem is that I don't have an idea of how to parse the data so that I can display it.
I want the array to look somthing like this: [26,20,25...]
And also I want to import the JSON Object from another file on my server because it is a dataset that is constantly changing so I can not locate the data in the html file.
I would be hapy if anyone here can help me with my problem because I'am relatively new to JavaScript.