Date format in the json output using spring boot
If you have Jackson integeration with your application to serialize your bean to JSON format, then you can use Jackson anotation @JsonFormat to format your date to specified format. In your case if you need your date into yyyy-MM-dd format you need to specify @JsonFormat above your field on which you want to apply this … Read more