Action Jackson! Effective JSON processing in Spring Boot Applications
summary
Shows concrete Jackson plus Spring Boot behaviors: creating a raw ObjectMapper bean breaks Boot auto-configuration and removes modules like parameter names module and JSR-310 support; Boot otherwise registers jdk8, jsr310 and parameter-names modules and sets fail-on-unknown-properties to false. Demonstrates using ObjectMapperBuilderCustomizer, per-endpoint builders, property-naming strategies, JsonPointer/JsonPath extraction, JacksonTester slice tests, and a production custom serializer to truncate OffsetDateTime to seconds. Warns to reuse ObjectMappers for performance; demos all run successfully.
AI-written summary · about
chapters (10)
- 0:00Jackson in Spring Boot
- 10:19Default Jackson config
- 15:12Jackson features and modules
- 22:53JSON naming and serialization
- 26:03ObjectMapperBuilderCustomizer tuning
- 30:17Parameter names module and records
- 33:27Testing JSON with Spring Boot slices
- 35:54Alternative JSON with Maps and JsonNode
- 42:19JSON views for selective fields
- 45:07Best practices for JSON
related talks
46mSpring Boot under the hood
46mInside Spring Boot 4: Restructuring for the Future
02mWe Talk with
50mMigrating to Modules
51mBoot Loot - up your game and Spring like the pros
46mJava Modules in practice with Spring Boot
48mSpring Boot 4 and Framework 7: Modularization, AoT and Efficiency
56mSpring Boot Omakase: A Fast-Paced “Chef’s Choice” Dive into Fun and Useful Topics!
