Tag

@JsonFormat

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 29, 2025 · Backend Development

Mastering @JsonFormat in Spring Boot 3: Advanced Date & Enum Handling

This article demonstrates how to use Spring Boot 3's @JsonFormat annotation for precise date, time, and enum serialization, covering configuration via properties, annotation attributes, locale settings, shape options, lenient parsing, and case‑insensitive deserialization with practical code examples.

@JsonFormatJacksonJava
0 likes · 8 min read
Mastering @JsonFormat in Spring Boot 3: Advanced Date & Enum Handling
macrozheng
macrozheng
Apr 16, 2020 · Backend Development

How to Simplify Date Formatting in Spring Boot: Global Config & @JsonFormat Tricks

This article shares practical techniques for handling date and time in Spring Boot projects, including the pitfalls of using SimpleDateFormat, the benefits of @JsonFormat, and two approaches to global configuration that streamline formatting for both java.util.Date and java.time types.

@JsonFormatBackend DevelopmentGlobal Configuration
0 likes · 9 min read
How to Simplify Date Formatting in Spring Boot: Global Config & @JsonFormat Tricks