@JsonFormat

From NovaOrdis Knowledge Base
Revision as of 17:25, 14 November 2018 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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