@JsonFormat

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

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 Example:

Playground @JsonFormat for Date Example