@JsonFormat

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Formatting Date

To format Date objects in bulk at ObjectMapper level, use a DateFormat on the ObjectMapper, as described here:

Specifying a Date Format at ObjectMapper Level
Playground @JsonFormat for Date Example