Hello all.
I am using JodaTime to date, and using Jackson to serialize, with the following configuration:
jackson {
registerModule (JodaModule ())
dateFormat = DateFormat.getDateInstance (3)
enable (SerializationFeature.INDENT_OUTPUT)
}
But the output in json is being:
"birthDate": "1985-04-16T04: 00: 00.000Z",
And I wish it were
"birthDate": "1985-04-16",
What setting should I do?
Using annotation, I did it, but I have to put over each field. I wanted something global.
Could anyone help?