Tagged articles
110 articles
Page 1 of 2
Coder Trainee
Coder Trainee
Feb 20, 2026 · Backend Development

Why Lombok-generated getters cause JSON fields to become lowercase

The article explains how Lombok’s @Data annotation generates getter and setter methods with a lowercase first letter for camel‑case fields, causing Jackson to serialize JSON property names in all lowercase, and offers three fixes: write methods manually, use @JsonProperty, or rename fields to avoid lower‑upper patterns.

JSONJacksonLombok
0 likes · 4 min read
Why Lombok-generated getters cause JSON fields to become lowercase
Architecture Digest
Architecture Digest
Feb 5, 2026 · Backend Development

What Surprising Changes Await You When Upgrading to Jackson 3 in Spring Boot 4?

Upgrading to Spring Boot 4 brings Jackson 3, which introduces four major breaking changes—package reorganization, replacement of ObjectMapper with JsonMapper, a shift to ISO‑8601 date serialization, and the removal of checked exceptions—each explained with code examples, migration tips, and the rationale behind the design.

JacksonSpring Bootdependency management
0 likes · 6 min read
What Surprising Changes Await You When Upgrading to Jackson 3 in Spring Boot 4?
Code Ape Tech Column
Code Ape Tech Column
Jan 16, 2026 · Backend Development

Master JSONPath in Spring Boot: Simplify Complex JSON Extraction

JSONPath offers a concise, XPath‑like syntax for extracting data from complex JSON structures, and this guide shows how to integrate it into Spring Boot, compare FastJSON, Jackson, and Gson implementations, and provides practical code examples, advanced configurations, and selection advice for Java projects.

GsonJacksonJsonPath
0 likes · 13 min read
Master JSONPath in Spring Boot: Simplify Complex JSON Extraction
Architecture Digest
Architecture Digest
Jan 8, 2026 · Backend Development

Why Do Jackson 2 and 3 Coexist? Uncover the 4 Breaking Changes in Jackson 3

After upgrading to Spring Boot 4, the article explains why both Jackson 2 and Jackson 3 appear together, outlines the four major breaking changes—including package reorganization, the shift from ObjectMapper to JsonMapper, new default date serialization, and the removal of checked exceptions—and offers migration tips.

JSONJacksonSpring Boot
0 likes · 6 min read
Why Do Jackson 2 and 3 Coexist? Uncover the 4 Breaking Changes in Jackson 3
IT Services Circle
IT Services Circle
Jan 8, 2026 · Backend Development

How to Seamlessly Upgrade to Spring Boot 4.0: A Step‑by‑Step Guide

This guide walks you through upgrading a Spring Boot project from 3.x to 4.0, covering Gradle version bump, dependency version catalog updates, starter module changes, Jackson 3 migration, Redisson API adjustments, and verification steps, while highlighting common pitfalls and official upgrade paths.

JacksonSpring Bootmigration
0 likes · 13 min read
How to Seamlessly Upgrade to Spring Boot 4.0: A Step‑by‑Step Guide
Java Companion
Java Companion
Nov 8, 2025 · Backend Development

How Jackson Views Let One DTO Replace Many and End DTO Explosion

The article explains how Jackson Views can consolidate multiple DTO classes into a single DTO by using view interfaces and @JsonView annotations, dramatically reducing code duplication, simplifying maintenance, and providing flexible field selection for different API scenarios.

Jacksondtojava
0 likes · 11 min read
How Jackson Views Let One DTO Replace Many and End DTO Explosion
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 2, 2025 · Backend Development

Master Advanced JSON Handling in Spring Boot 3 with Jackson

This article walks through advanced Jackson techniques for JSON processing in Spring Boot 3, including path queries, multi‑value extraction, view control, dynamic property handling, object unwrapping, and raw JSON insertion, each illustrated with concise JUnit test examples and expected outputs.

JSONJacksonSpring Boot
0 likes · 10 min read
Master Advanced JSON Handling in Spring Boot 3 with Jackson
Programmer DD
Programmer DD
Oct 23, 2025 · Backend Development

Why Jackson Serialization Can Drain Your CPU and How to Fix It

The article reveals how default Jackson JSON serialization can become a hidden CPU bottleneck in high‑traffic Spring Boot services, explains why full entity objects inflate serialization time, and presents practical optimizations such as @JsonView, custom ObjectMapper settings, hand‑written serializers, and alternative data formats to dramatically cut latency and cloud costs.

JacksonSpring Bootdto
0 likes · 13 min read
Why Jackson Serialization Can Drain Your CPU and How to Fix It
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 21, 2025 · Backend Development

Master JSON Control in Spring Boot 3: Practical Guide to @JsonProperty, @JsonView & Mix‑ins

This article explains how to fine‑tune JSON responses in Spring Boot 3 using Jackson annotations such as @JsonProperty, @JsonFormat, @JsonView, and Mix‑ins, covering field hiding, renaming, null handling, date/number formatting, view‑based serialization, and custom ObjectMapper configuration with code examples.

JSONJacksonMixin
0 likes · 9 min read
Master JSON Control in Spring Boot 3: Practical Guide to @JsonProperty, @JsonView & Mix‑ins
Java Tech Enthusiast
Java Tech Enthusiast
Oct 12, 2025 · Backend Development

Master JSON Field Adaptation in Spring Boot: 3 Powerful Techniques

This article explains why JSON field mismatches cause backend failures in microservice architectures and presents three robust Spring Boot solutions—using a Map, Jackson's JsonNode, and @JsonAnySetter/@JsonAnyGetter—to flexibly and safely adapt dynamic JSON structures.

Dynamic MappingJSONJackson
0 likes · 7 min read
Master JSON Field Adaptation in Spring Boot: 3 Powerful Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 3, 2025 · Backend Development

Master Spring Boot 3 JSON Handling: 12 Essential Jackson Annotations with Real‑World Examples

This article walks through the most common Jackson annotations for Spring Boot 3, explaining their purpose, showing concise code samples, and demonstrating the resulting JSON output with screenshots, so developers can confidently handle naming, ignoring, formatting, dynamic properties, and custom serialization in their APIs.

JSONJacksonannotations
0 likes · 11 min read
Master Spring Boot 3 JSON Handling: 12 Essential Jackson Annotations with Real‑World Examples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 27, 2025 · Backend Development

5 Powerful Techniques to Mask Sensitive Fields in Spring Boot 3

This article explains why masking sensitive data such as ID numbers, phone numbers, and bank cards is essential, then demonstrates five practical Spring Boot 3 solutions—including custom JsonSerializer, Jackson modules, AOP, ResponseBodyAdvice, and JsonFilter—complete with code examples and output screenshots.

JacksonSpring Bootaop
0 likes · 8 min read
5 Powerful Techniques to Mask Sensitive Fields in Spring Boot 3
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 7, 2025 · Backend Development

Mastering Date Formatting in Spring Boot 3: 5 Practical Solutions

This article explains why proper date formatting matters in Spring Boot applications, compares the default Jackson behavior, and presents five concrete approaches—including global configuration, @JsonFormat, custom ObjectMapper, @JsonComponent, and @JsonSerialize—detailing their implementations, advantages, and drawbacks.

Date FormattingJacksonSpring Boot
0 likes · 8 min read
Mastering Date Formatting in Spring Boot 3: 5 Practical Solutions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 11, 2025 · Backend Development

How to Solve Spring Boot Bidirectional JSON Recursion with 6 Jackson Techniques

This article explains why bidirectional entity relationships cause infinite JSON recursion in Spring Boot, demonstrates the problem with sample code and console output, and presents six practical Jackson solutions—including @JsonManagedReference, @JsonIdentityInfo, @JsonIgnore, @JsonView, and custom serializers—complete with code snippets and result screenshots.

BackendBidirectional relationshipJSON recursion
0 likes · 9 min read
How to Solve Spring Boot Bidirectional JSON Recursion with 6 Jackson Techniques
Java Backend Technology
Java Backend Technology
Jul 7, 2025 · Backend Development

Master Dynamic JSON Fields in Java with @JsonAnyGetter and @JsonAnySetter

This article explains how Jackson's @JsonAnySetter and @JsonAnyGetter annotations let Java classes gracefully handle unknown JSON properties by collecting them into a map during deserialization and emitting them as regular fields during serialization, complete with practical code examples and usage tips.

DeserializationDynamicPropertiesJSON
0 likes · 7 min read
Master Dynamic JSON Fields in Java with @JsonAnyGetter and @JsonAnySetter
macrozheng
macrozheng
Jul 1, 2025 · Backend Development

Master Dynamic JSON Fields in Java with @JsonAnyGetter & @JsonAnySetter

This article explains how to handle JSON objects with unknown or changing fields in Java by using Jackson's @JsonAnySetter to collect them during deserialization and @JsonAnyGetter to serialize them back, complete with code examples, pitfalls, and a concise analogy.

DeserializationDynamicPropertiesJSON
0 likes · 8 min read
Master Dynamic JSON Fields in Java with @JsonAnyGetter & @JsonAnySetter
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 18, 2025 · Backend Development

Master Polymorphic Deserialization in Spring Boot 3 with Jackson

This tutorial shows how to use Jackson's polymorphic deserialization in Spring Boot 3 to handle variable JSON request bodies by defining a common Order interface, concrete implementations, and a REST controller that routes calculations based on the order type, eliminating redundant endpoints.

BackendJacksonPolymorphic Deserialization
0 likes · 6 min read
Master Polymorphic Deserialization in Spring Boot 3 with Jackson
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 31, 2025 · Backend Development

Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips

This article explores Jackson's ObjectMapper in Spring Boot 3, covering basic serialization/deserialization, converting between objects, JSON strings, JsonNode, and collections, custom serializers/deserializers, handling unknown fields, and performance tuning with the Afterburner module and JMH benchmarks.

DeserializationJSONJackson
0 likes · 12 min read
Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips
Lin is Dream
Lin is Dream
May 28, 2025 · Backend Development

Mastering Uniform Date Formatting in Spring Boot with Jackson

This guide shows how to configure Jackson in Spring Boot to consistently format LocalDateTime, Date, and String parameters as "yyyy-MM-dd HH:mm:ss", covering global settings via application properties, field-level @JsonFormat, custom serializers/deserializers, and unified handling in REST controllers.

Date FormattingJSONJackson
0 likes · 8 min read
Mastering Uniform Date Formatting in Spring Boot with Jackson
Code Ape Tech Column
Code Ape Tech Column
Apr 9, 2025 · Backend Development

Using @JsonView in Spring to Control JSON Serialization of Fields

This article explains how the Jackson @JsonView annotation can be used in Spring back‑end projects to selectively serialize object fields, reduce bandwidth, improve security, and handle nested associations by defining view interfaces and applying them on entity fields and controller methods.

BackendJacksonjava
0 likes · 8 min read
Using @JsonView in Spring to Control JSON Serialization of Fields
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 7, 2025 · Backend Development

Mastering @JsonView in Spring Boot 3: Dynamic JSON Serialization Techniques

This article explains how to use Jackson's @JsonView annotation in Spring Boot 3 to flexibly control JSON output for different REST scenarios, covering basic usage, programmatic view selection, view‑based MVC responses, deserialization restrictions, and default‑inclusion configuration with practical code examples.

JacksonSpring Bootjava
0 likes · 8 min read
Mastering @JsonView in Spring Boot 3: Dynamic JSON Serialization Techniques
macrozheng
macrozheng
Mar 31, 2025 · Backend Development

Why Using isSuccess Can Break JSON Serialization in Java and How to Fix It

This article explains how different Java boolean naming conventions affect JSON serialization across fastjson, Gson, and Jackson, demonstrates the resulting inconsistencies with code examples, and recommends using a plain "success" field with an isSuccess getter to ensure reliable cross‑library behavior.

GsonJSONJackson
0 likes · 7 min read
Why Using isSuccess Can Break JSON Serialization in Java and How to Fix It
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 7, 2025 · Backend Development

Master Dynamic JSON in Spring Boot 3: 4 Practical Techniques

This article explains why Spring Boot 3 uses Jackson for JSON handling, describes four effective methods—JsonNode, Map, @JsonAnySetter, and custom deserializer—to process dynamic JSON properties, and promotes a continuously updated collection of over 90 Spring Boot case studies with source code.

Custom DeserializerDynamic JSONJackson
0 likes · 9 min read
Master Dynamic JSON in Spring Boot 3: 4 Practical Techniques
Java Tech Enthusiast
Java Tech Enthusiast
Jan 5, 2025 · Backend Development

Six Common JSON Parsing Methods in Java

Java developers can parse JSON using six popular approaches—Jackson for high‑performance, annotation‑driven serialization; Gson for a lightweight, easy‑to‑use API; FastJSON for speed; JsonPath for XPath‑style nested extraction; org.json for simple utility; or manual parsing for full control—each suited to different performance and complexity needs.

GsonJSONJackson
0 likes · 9 min read
Six Common JSON Parsing Methods in Java
Architect's Guide
Architect's Guide
Dec 23, 2024 · Backend Development

Implementing API Request and Response Encryption/Decryption with Spring Boot and ControllerAdvice

This article walks through the design and implementation of symmetric AES encryption for both GET and POST API endpoints in a Spring Boot application, covering requirement analysis, data model definition, custom RequestBodyAdvice and ResponseBodyAdvice, serialization challenges with FastJSON vs Jackson, and final configuration to ensure consistent JSON output across encrypted and non‑encrypted responses.

AESBackendControllerAdvice
0 likes · 12 min read
Implementing API Request and Response Encryption/Decryption with Spring Boot and ControllerAdvice
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 7, 2024 · Backend Development

Date Formatting Techniques in Spring Boot Applications

This article explains why consistent date formatting is crucial in Spring Boot APIs, outlines common scenarios such as front‑end data exchange, database storage and logging, and presents multiple server‑side and client‑side solutions—including SimpleDateFormat, DateTimeFormatter, global Jackson settings, annotations, custom converters, and timestamp output—complete with code examples.

Date FormattingDateTimeFormatterJackson
0 likes · 12 min read
Date Formatting Techniques in Spring Boot Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 5, 2024 · Backend Development

Solve Long Precision Loss in Spring Boot 3 with Jackson and Custom Annotations

This article demonstrates how to handle Java Long precision loss in Spring Boot 3 front‑end displays, configures Jackson to serialize Long as String, uses @JsonValue for single‑property serialization, and creates custom annotations with a SensitiveSerializer for data masking, complete with code examples and screenshots.

Custom AnnotationJacksonLong precision
0 likes · 9 min read
Solve Long Precision Loss in Spring Boot 3 with Jackson and Custom Annotations
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 4, 2024 · Backend Development

Date Formatting Techniques in Spring Boot Applications

This article explains various Spring Boot approaches for formatting dates in API responses, covering frontend JavaScript utilities, Java SimpleDateFormat and DateTimeFormatter, global Jackson settings, annotation‑based formatting, custom converters, ControllerAdvice initBinder, and timestamp output methods.

Date FormattingDateTimeFormatterJackson
0 likes · 12 min read
Date Formatting Techniques in Spring Boot Applications
Architecture Digest
Architecture Digest
Oct 16, 2024 · Backend Development

Implementing Request and Response Encryption in Spring Boot with ControllerAdvice

This article walks through the design and implementation of symmetric request/response encryption for a Spring Boot API, covering requirement analysis, data models, custom ControllerAdvice for decryption and encryption, serialization challenges with FastJson and Jackson, and final configuration to keep encrypted payloads consistent across Android, iOS, and H5 clients.

ControllerAdviceJacksonSpring Boot
0 likes · 12 min read
Implementing Request and Response Encryption in Spring Boot with ControllerAdvice
macrozheng
macrozheng
Sep 5, 2024 · Information Security

How to Automatically Mask Sensitive Data in Spring Boot with Jackson Annotations

This article explains how to implement unified data desensitization in Java Spring Boot applications by creating custom annotations, enums, serializers, and utility methods that automatically mask personal information during JSON serialization, complete with code examples and test results.

JacksonSpring Bootbackend-development
0 likes · 13 min read
How to Automatically Mask Sensitive Data in Spring Boot with Jackson Annotations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 22, 2024 · Backend Development

Master Jackson Annotations in Spring Boot 3.2.5: From @JsonAnyGetter to Custom Annotations

This tutorial explores Jackson's rich annotation set in Spring Boot 3.2.5, demonstrating how to serialize and deserialize JSON with built‑in annotations like @JsonAnyGetter, @JsonGetter, @JsonPropertyOrder, and @JsonIgnore, how to create custom annotations, and how to disable annotation processing for fine‑grained control.

DeserializationJSONJackson
0 likes · 13 min read
Master Jackson Annotations in Spring Boot 3.2.5: From @JsonAnyGetter to Custom Annotations
Java Tech Enthusiast
Java Tech Enthusiast
Aug 14, 2024 · Backend Development

Customizing JSON Serialization and Deserialization in Spring Boot

In Spring Boot you can customize JSON request and response handling by annotating fields with @JsonSerialize/@JsonDeserialize, registering a global ObjectMapper module, adding a PropertyEditor via @ControllerAdvice, creating a custom HttpMessageConverter, or using AOP interception, selecting the approach that matches your project’s complexity.

DeserializationJSONJackson
0 likes · 7 min read
Customizing JSON Serialization and Deserialization in Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Aug 11, 2024 · Information Security

Java Data Desensitization with Hutool and Custom Jackson Serializer

The article demonstrates how to mask sensitive Java backend data by using Hutool's DesensitizedUtil for common types and a custom @Desensitization annotation with a DesensitizationTypeEnum‑driven Jackson serializer (or Fastjson ValueFilter) to apply flexible masking rules during JSON serialization.

JacksonSpring Bootdata desensitization
0 likes · 7 min read
Java Data Desensitization with Hutool and Custom Jackson Serializer
HelloTech
HelloTech
May 10, 2024 · Backend Development

Root Cause Analysis and Optimization of G1GC Pauses Caused by StringTable Growth in Java Services

The investigation revealed that G1GC pauses were caused by uncontrolled growth of the JVM StringTable, triggered by Jackson’s InternCache interning countless random JSON field names, and was mitigated by enlarging the young generation, disabling field‑name interning, tuning G1 parameters, and monitoring StringTable size.

GC tuningJSON interningJVM performance
0 likes · 37 min read
Root Cause Analysis and Optimization of G1GC Pauses Caused by StringTable Growth in Java Services
Architect's Guide
Architect's Guide
May 10, 2024 · Backend Development

Implementing Request and Response Encryption in Spring Boot with ControllerAdvice and Jackson

This article demonstrates how to secure Spring Boot APIs by encrypting request and response bodies using custom ControllerAdvice, switching from FastJson to Jackson for proper enum and date serialization, and configuring ObjectMapper to produce consistent JSON output across encrypted and non‑encrypted endpoints.

API SecurityControllerAdviceJackson
0 likes · 13 min read
Implementing Request and Response Encryption in Spring Boot with ControllerAdvice and Jackson
macrozheng
macrozheng
Feb 22, 2024 · Backend Development

Why Using isSuccess Can Break JSON Serialization in Java

This article explains how different Java JSON libraries handle boolean getter naming, shows code examples of serialization results with fastjson, Gson, and Jackson, and recommends using a plain "success" field with an isSuccess() getter to avoid runtime bugs.

GsonJacksonJavaBeans
0 likes · 7 min read
Why Using isSuccess Can Break JSON Serialization in Java
Architect
Architect
Feb 7, 2024 · Backend Development

How to Secure Spring MVC APIs with Request/Response Encryption Using ControllerAdvice

This article walks through a real‑world scenario of adding symmetric encryption to Spring MVC endpoints for Android, iOS and H5 clients, detailing the requirements, code implementation of request and response interceptors, serialization pitfalls with enums and LocalDateTime, and the final solution using Jackson's ObjectMapper to keep encrypted and non‑encrypted responses consistent.

API SecurityControllerAdviceJackson
0 likes · 17 min read
How to Secure Spring MVC APIs with Request/Response Encryption Using ControllerAdvice
Java Architecture Diary
Java Architecture Diary
Dec 5, 2023 · Backend Development

Master JSON Pointer with Jackson: Syntax, Examples, and Java Code

This article explains the JSON Pointer syntax, provides encoding rules and practical examples, demonstrates how to extract values from complex JSON structures using Jackson's JsonUtil in Java, and shows how to map nodes to Java beans, offering a concise guide for developers.

Data ExtractionJSONJSON Pointer
0 likes · 6 min read
Master JSON Pointer with Jackson: Syntax, Examples, and Java Code
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 7, 2023 · Information Security

Secure API Responses with Data Masking, Encryption, and Jackson Annotations

This article explains practical methods to protect sensitive API data in Spring Boot applications, covering encryption, masking, access control, logging, HTTPS, and database security, and demonstrates three implementation approaches: SQL‑level masking, field‑level encryption, and custom Jackson serialization using annotations and a contextual serializer.

API SecurityJacksonSpring Boot
0 likes · 8 min read
Secure API Responses with Data Masking, Encryption, and Jackson Annotations
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.

JMHJacksonObjectMapper
0 likes · 8 min read
Why Reusing a Single Jackson ObjectMapper Boosts JSON Performance 10×
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 17, 2023 · Backend Development

Understanding Jackson vs Fastjson Serialization of Circular References and Global Exception Handling in Spring Boot

The article examines how Spring Boot handles circular reference serialization with Jackson and Fastjson, demonstrates the role of @ControllerAdvice for global exception capture, explains why Jackson may emit both 200 and 500 responses, and provides practical solutions using annotations and configuration.

BackendJacksonSpring Boot
0 likes · 18 min read
Understanding Jackson vs Fastjson Serialization of Circular References and Global Exception Handling in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Jul 31, 2023 · Backend Development

How to Configure Date Formatting in SpringBoot Backend Applications

This guide explains how to customize the serialization and deserialization of Date objects in SpringBoot by adjusting application.yml/properties, using @JsonFormat, @DateTimeFormat, and @Temporal annotations, and by creating global converters for both form submissions and JSON payloads, ensuring consistent timezone handling.

Date FormattingGlobal ConverterJackson
0 likes · 12 min read
How to Configure Date Formatting in SpringBoot Backend Applications
Programmer DD
Programmer DD
May 22, 2023 · Backend Development

What’s New in Spring Boot 3.1? Key Features and Upgrades Explained

Spring Boot 3.1.0 introduces a host of enhancements—including automatic configuration for Spring Authorization Server, upgraded HttpClient support, refined Testcontainers integration, new Docker‑Compose capabilities, and updates to Hibernate, Jackson, Mockito, and SSL handling—while also providing detailed Maven and Gradle options for image building.

Docker ComposeHibernateJackson
0 likes · 10 min read
What’s New in Spring Boot 3.1? Key Features and Upgrades Explained
Java Architect Essentials
Java Architect Essentials
Feb 21, 2023 · Backend Development

Performance Benchmark of Common Java JSON Libraries Using JMH

This article benchmarks the serialization and deserialization performance of four popular Java JSON libraries—Gson, Fastjson, Jackson, and Json‑lib—using JMH, analyzes the results across different operation counts, and provides guidance on selecting the most suitable library for high‑performance applications.

GsonJMHJSON
0 likes · 11 min read
Performance Benchmark of Common Java JSON Libraries Using JMH
Su San Talks Tech
Su San Talks Tech
Nov 14, 2022 · Backend Development

How to Secure Spring MVC APIs with Unified Request/Response Encryption

This article walks through implementing symmetric encryption for both request and response bodies in a Spring MVC project, covering requirement analysis, data model design, custom ControllerAdvice for decryption and encryption, serialization challenges with FastJson and Jackson, and final configuration to ensure consistent API output across Android, iOS, and H5 clients.

ControllerAdviceJacksonSpring MVC
0 likes · 14 min read
How to Secure Spring MVC APIs with Unified Request/Response Encryption
Sohu Tech Products
Sohu Tech Products
Nov 2, 2022 · Information Security

Handling XSS Vulnerabilities in Spring Boot: Request Wrapper, Filters, and Jackson Custom Serialization

This article documents a step‑by‑step solution for preventing XSS attacks in a Spring Boot application, covering input validation, a custom HttpServletRequestWrapper, filter registration, and Jackson serializers/deserializers to escape malicious HTML both on request parameters and JSON payloads.

JacksonRequestWrapperSpring Boot
0 likes · 16 min read
Handling XSS Vulnerabilities in Spring Boot: Request Wrapper, Filters, and Jackson Custom Serialization
Java Architect Essentials
Java Architect Essentials
Oct 17, 2022 · Backend Development

Performance Benchmark of Common Java JSON Libraries (Gson, FastJson, Jackson, Json-lib)

This article presents a JMH‑based performance comparison of four popular Java JSON libraries—Gson, FastJson, Jackson, and Json‑lib—covering their Maven dependencies, utility wrappers, a realistic Person model, serialization and deserialization benchmarks, and analysis of the results to guide library selection.

GsonJSONJackson
0 likes · 15 min read
Performance Benchmark of Common Java JSON Libraries (Gson, FastJson, Jackson, Json-lib)
Selected Java Interview Questions
Selected Java Interview Questions
Oct 7, 2022 · Backend Development

Configuring Date Formatting in SpringBoot Applications

This article explains how to customize the date format returned by SpringBoot REST controllers using configuration files, Jackson annotations, JavaBean annotations, and global converters, covering both JSON serialization and form data binding with practical code examples.

JacksonSpringBootannotations
0 likes · 11 min read
Configuring Date Formatting in SpringBoot Applications
Cognitive Technology Team
Cognitive Technology Team
Aug 12, 2022 · Backend Development

Handling Large Integer IDs in Java and JavaScript: Preventing Precision Loss with Jackson Configuration

When generating large IDs using Snowflake-like algorithms, Java's 64‑bit long values exceed JavaScript's safe integer range, causing display errors; the article explains how to resolve this by serializing Long values as strings in Spring Boot using Jackson's ToStringSerializer, both via configuration and annotations.

ID SerializationJacksonJavaScript
0 likes · 2 min read
Handling Large Integer IDs in Java and JavaScript: Preventing Precision Loss with Jackson Configuration
Top Architect
Top Architect
Jul 13, 2022 · Backend Development

Configurable Data Masking in Spring Boot Using Custom Annotations and Jackson

This article demonstrates how to implement a flexible data‑masking solution for sensitive fields in Spring Boot APIs by defining a custom annotation, creating a serializer, integrating it with Jackson via an AnnotationIntrospector, configuring the ObjectMapper, and applying the annotation to domain objects.

Custom AnnotationJacksonSpring Boot
0 likes · 7 min read
Configurable Data Masking in Spring Boot Using Custom Annotations and Jackson
Top Architect
Top Architect
Jul 3, 2022 · Backend Development

Implementing Request and Response Encryption in Spring MVC Using ControllerAdvice

This article demonstrates how to secure GET and POST API endpoints in a Spring MVC application by encrypting request bodies and responses with AES, using custom ControllerAdvice classes, handling serialization issues with FastJSON and Jackson, and configuring ObjectMapper for proper date and enum formatting.

AESControllerAdviceJackson
0 likes · 15 min read
Implementing Request and Response Encryption in Spring MVC Using ControllerAdvice
Java High-Performance Architecture
Java High-Performance Architecture
Jul 3, 2022 · Backend Development

Securing Spring Boot APIs with Request/Response Encryption via ControllerAdvice

This article walks through implementing symmetric request and response encryption for Spring Boot APIs—covering requirements, data models, controller examples, debugging serialization issues, and using ControllerAdvice with Jackson to ensure encrypted payloads remain compatible across Android, iOS, and H5 clients.

AESControllerAdviceJackson
0 likes · 13 min read
Securing Spring Boot APIs with Request/Response Encryption via ControllerAdvice
Code Ape Tech Column
Code Ape Tech Column
Jun 21, 2022 · Information Security

Implementing Data Desensitization with Custom Jackson Annotations in Java

This article explains how to mask sensitive fields such as ID numbers, phone numbers, and addresses in Java APIs by creating a custom @Sensitive annotation, defining masking strategies, implementing a Jackson serializer, and testing the solution with a Spring REST controller, providing complete code examples and sample output.

BackendJacksonannotation
0 likes · 6 min read
Implementing Data Desensitization with Custom Jackson Annotations in Java
IT Xianyu
IT Xianyu
Apr 18, 2022 · Backend Development

Global Date and Time Conversion in Spring Boot 2.x: Custom Converters, Jackson Configuration, and Parameter Binding

This article explains how to globally handle LocalDate, LocalDateTime, and LocalTime parameters in Spring Boot 2.x by creating custom Converter beans, configuring Jackson's ObjectMapper, using @DateTimeFormat, ControllerAdvice, and understanding the underlying parameter resolution mechanisms to avoid common pitfalls such as lambda‑based converter registration failures.

BackendConverterJackson
0 likes · 16 min read
Global Date and Time Conversion in Spring Boot 2.x: Custom Converters, Jackson Configuration, and Parameter Binding
Top Architect
Top Architect
Apr 15, 2022 · Backend Development

Global Date and Time Conversion in Spring Boot: Custom Converters, Jackson Configuration, and Parameter Binding

This article explains how to globally configure date and time handling in Spring Boot 2.x, covering custom Converter beans for LocalDate, LocalDateTime, and LocalTime, Jackson JSON serialization settings, @InitBinder usage, and common pitfalls such as lambda expressions and parameter binding.

Custom ConverterDate ConversionJackson
0 likes · 18 min read
Global Date and Time Conversion in Spring Boot: Custom Converters, Jackson Configuration, and Parameter Binding
macrozheng
macrozheng
Feb 9, 2022 · Backend Development

Beyond @Value: 5 Powerful Ways to Read YAML in Spring Boot

This article demonstrates five practical techniques for reading YAML configuration files in Spring Boot—including Environment, YamlPropertiesFactoryBean, custom listeners, SnakeYml, and Jackson—providing code examples, usage details, and tips for handling defaults and profile activation.

EnvironmentJacksonSnakeYml
0 likes · 14 min read
Beyond @Value: 5 Powerful Ways to Read YAML in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Dec 18, 2021 · Backend Development

Deep Copy in Java: Multiple Implementation Methods

This article explains the difference between shallow and deep copying in Java and provides five practical techniques—including constructor copying, overriding clone(), Apache Commons Lang serialization, Gson serialization, and Jackson serialization—complete with code examples and test cases to demonstrate each approach.

GsonJacksonclone
0 likes · 8 min read
Deep Copy in Java: Multiple Implementation Methods
Code Ape Tech Column
Code Ape Tech Column
Sep 3, 2021 · Backend Development

Data Desensitization Techniques for Configuration Files, API Responses, and Log Files in Spring Boot

This article explains how to protect sensitive information in Spring Boot applications by encrypting configuration files with jasypt‑spring‑boot, masking API response fields using a custom Jackson annotation, and filtering log output with a custom Log4j2 PatternLayout, providing complete code examples for each method.

JacksonJasyptSpring Boot
0 likes · 16 min read
Data Desensitization Techniques for Configuration Files, API Responses, and Log Files in Spring Boot
Programmer DD
Programmer DD
Jun 10, 2021 · Backend Development

How to Implement Field-Level Data Desensitization with Jackson in Java

This tutorial explains how to move data desensitization to the JSON serialization stage using Jackson, defines a @Sensitive annotation, custom strategies, a contextual serializer, and demonstrates the approach with a User class example that masks personal fields during serialization.

Custom AnnotationJSONJackson
0 likes · 6 min read
How to Implement Field-Level Data Desensitization with Jackson in Java
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2021 · Backend Development

Is FastJson Really Faster? Benchmark vs Jackson and Gson

This article evaluates Alibaba's FastJson library by comparing its parsing speed, Maven popularity, and issue count against Jackson and Gson, presenting benchmark results, highlighting a critical bug in timestamp handling, and concluding with a recommendation to prefer Jackson for most Java projects.

GsonJacksonJava performance
0 likes · 7 min read
Is FastJson Really Faster? Benchmark vs Jackson and Gson