If i call the json_loads() function with the responese json string, i get an error.
error.line = -1
error.column = -1
error.position = 0
error.soutce = ""
error.text = ""
But the json_loads() return = 0x0.
I use the version 2.13.1.
With the current weather data the call works as expected.
The problem could be found. The set heap was too small. In the environment where I use the library it is necessary to set the heap. (B&R Automation Runtime)
The answer from OpenWeatherMap seems to be correct. Here is the answer for forecast weather data:
WeatherSampleCurrFore.txt
If i call the json_loads() function with the responese json string, i get an error. error.line = -1 error.column = -1 error.position = 0 error.soutce = ""
error.text = ""
But the json_loads() return = 0x0.
I use the version 2.13.1.
With the current weather data the call works as expected.
WeatherSampleCurr.txt
I would be happy if the problem was solved.