Please help to change date format.
**Source** json file
**Target** Employee Object
I need support for converting file json date to Object. from file
{
 "dateOfBirth": {
    "year": 1980,
    "month": "MAY",
    "monthValue": 5,
    "dayOfMonth": 4,
    "dayOfYear": 124,
    "dayOfWeek": "WEDNESDAY",
    "chronology": {
      "calendarType": "iso8601",
      "id": "ISO"
    },
    "era": "CE",
    "leapYear": false
  }
}
to Object
{"dateOfBirth": "1980-05-04"}
Object
public class Employee {   
    private LocalDate dateOfBirth;
    //setter
    //getter
}
Library
"com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
Date : java.time.LocalDate
My goal is to read json data from file and map it to object.
 
    