JsonNode data=jsonNode.path(“Time Series (Daily)”);
re=objectmapper.writeValueAsString(data);
Map<LocalDate,AlphavantageCandle> c111;
c111= objectmapper.readValue(re, new TypeReference<HashMap<LocalDate,AlphavantageCandle>>() {});
I have used annotation to ignore the 5th property at class level in Alphavntage candle.I am getting this error.Cannot understand what to do.Stuck on it for almost a day.
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field “5. adjusted close” (class com.crio.warmup.stock.dto.AlphavantageCandle), not marked as ignorable (5 known properties: “4. close”, “1. open”, “date”, “3. low”, “2. high”])