NullPointerException at getCandles() method of AlphacantageDailyResponse

when deserializing the response returned from api into AlphavantageDailyResponse, only dates are getting deserialized the values are still null. i.e the stock data on a date is not being serialized into AlphavantageCandle. why it is null?

Just dumping my thoughts because I haven’t reached module 6 yet.

Can you check if the variable names in AlphavantageCandle correspond to the key names in the JSON file returned by the API call?

yeah all json property mapping is correct.

Hey @nikhilmalviya nice question but i will say spend little bit more time on this

Hint: think how can you use getCandles() function of class to deserialize this object.