Tagged articles

objectmapper

13 articles · Page 1 of 1
LuTiao Programming
LuTiao Programming
Sep 4, 2026 · Backend Development

Spring Boot 4.1 Upgrade: Why Your Decade-Old ObjectMapper Breaks First

This article details the practical challenges and solutions when migrating from Spring Boot 3.x to 4.x, focusing on the Jackson 2 to 3 transition including package changes, exception handling updates, annotation exceptions, immutable ObjectMapper configuration, and coexistence strategies for legacy dependencies.

JSONJacksonJackson 3
0 likes · 16 min read
Spring Boot 4.1 Upgrade: Why Your Decade-Old ObjectMapper Breaks First
Xiaolin Talks Programming
Xiaolin Talks Programming
Aug 18, 2026 · Backend Development

Spring Boot Jackson Deep Dive: Dynamic Field Masking, Date Formatting & Streaming JSON Optimization

This article explores advanced Jackson customization in Spring Boot, covering ObjectMapper configuration, global date formatting and BigDecimal precision handling, dynamic sensitive field desensitization using BeanSerializerModifier and ThreadLocal context, and streaming JSON generation with JsonGenerator to handle large datasets without memory overflow.

BigDecimalDesensitizationJackson
0 likes · 19 min read
Spring Boot Jackson Deep Dive: Dynamic Field Masking, Date Formatting & Streaming JSON Optimization
macrozheng
macrozheng
Aug 24, 2023 · Backend Development

Why Reusing a Single Jackson ObjectMapper Boosts JSON Performance 10×

This article explains how repeatedly creating Jackson ObjectMapper instances hurts performance, demonstrates a JMH benchmark comparing new, singleton, and ThreadLocal ObjectMapper usages, and concludes that a single globally shared ObjectMapper can achieve up to ten times faster JSON parsing.

BenchmarkJMHJackson
0 likes · 8 min read
Why Reusing a Single Jackson ObjectMapper Boosts JSON Performance 10×