I am encountering an issue with a JSON file I have. The JSON file contains weather data for Munich, including temperature and wind speed information.
weather = [
{
"city": "Munich",
"temp": {
"temp_val": "30 deg",
"temp_unit": "C"
},
"speed": {
"speed_val": 7.31,
"speed_unit": "m/s"
}
}
]
As a beginner in working with JSON files, I am trying to save this data as weather.json.
However, when I attempt to do so, I encounter the following error:
Expected value at 1:0 pointing to the first line of the file.