I'm using:
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "dd/MM/yyyy")
private LocalDate date;
But its not working...
What I receive in soapUi is:
"date": {
"year": 1995,
"month": "OCTOBER",
"dayOfMonth": 10,
"dayOfWeek": "TUESDAY",
"era": "CE",
"dayOfYear": 283,
"leapYear": false,
"monthValue": 10,
"chronology": {
"id": "ISO",
"calendarType": "iso8601"
}
},
I should not need an objectmapper right?
is there a way to just use annotations?