I need to retrieve the \"name\" object by using openWeather API, and I manage to parse json and retrieve the data, but for its particular objects such as \"name\" I constantly r
You are expecting a WeatherData object to contain 2 fields: name and main. But apparently, the actual data doesn't contain name. You need to double check the actual data you're trying to parse and update you WeatherData model.