'Parse LocalDateTime object from weird format

I have a microservice that sends json date fields in the following format:

"date":
{
   "dayOfYear":314,
   "dayOfWeek":"WEDNESDAY",
   "month": "NOVEMBER",
   "dayOfMonth": 9,
   "year": 2016,
   "monthValue": 11,
   "nano": 123000000,
   "hour": 10,
   "minute": 30,
   "second": 30,
   "chronology": {
          "id":"ISO",
          "calendarType":"iso8601"
   }
}

and I can't control this format though I need to deserialize this value into LocalDateTime field on my side. The application I'm developing is based on the spring boot and jackson as a json deserializer. Do I have any existent options or Do I need to write my own deserializer to handle this LocalDateTime format?

It seems like jsr310 jackson lib doesn't cover this format but I could miss something here.

Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source