Tag

Custom Converter

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 26, 2025 · Backend Development

Master Advanced Data Binding in Spring Boot 3: From Simple Types to Custom Converters

This article demonstrates how to leverage Spring Boot 3's data binding capabilities by converting primitive types to objects, creating custom converters, handling hierarchical object binding, and implementing custom argument resolvers, complete with code examples and execution results.

Custom ConverterData BindingJava
0 likes · 8 min read
Master Advanced Data Binding in Spring Boot 3: From Simple Types to Custom Converters
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 1, 2024 · Backend Development

Mastering Custom Type Converters for Spring Boot @ConfigurationProperties

Learn how to create and register custom type converters for Spring Boot @ConfigurationProperties, enabling seamless binding of complex objects from property files using @ConfigurationPropertiesBinding and BeanFactoryPostProcessor techniques, including code examples, configuration snippets, and two registration approaches for practical implementation.

Backend DevelopmentConfigurationPropertiesCustom Converter
0 likes · 6 min read
Mastering Custom Type Converters for Spring Boot @ConfigurationProperties
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 22, 2024 · Backend Development

Spring Boot 3 Essentials: @Delimiter, Custom Converters, YAML & Filters

This guide walks you through powerful Spring Boot 3 features—including the @Delimiter annotation for automatic collection parsing, custom type converters for @Value, loading YAML files via a FactoryBean, a suite of ordered filters, and using DeferredImportSelector for conditional configuration imports.

Backend DevelopmentCustom ConverterDeferredImportSelector
0 likes · 9 min read
Spring Boot 3 Essentials: @Delimiter, Custom Converters, YAML & Filters
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 9, 2024 · Backend Development

Mastering Spring Formatter: Custom Data Conversion in Spring Boot 2.7

This tutorial explains Spring's core.convert package, introduces the Formatter interface, and provides step‑by‑step examples of creating custom formatters and annotation‑based formatters in Spring Boot, including code snippets, registration, and test endpoints with output screenshots.

AnnotationCustom ConverterFormatter
0 likes · 8 min read
Mastering Spring Formatter: Custom Data Conversion in Spring Boot 2.7
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 9, 2024 · Backend Development

Mastering Spring Boot’s Binder: From Basics to Custom Conversions

This article explains how Spring Boot’s Binder class binds external configuration properties to Java objects, demonstrates basic and custom type conversions, shows how to use binding callbacks, and outlines key places where Binder is employed within Spring Boot and Spring Cloud Gateway.

BinderConfigurationPropertiesCustom Converter
0 likes · 11 min read
Mastering Spring Boot’s Binder: From Basics to Custom Conversions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 17, 2024 · Backend Development

Mastering @InitBinder in Spring Boot 3: Custom Data Binding Techniques

This article explains how to use Spring Boot's @InitBinder annotation in @Controller and @ControllerAdvice classes to customize WebDataBinder for parameter binding, type conversion, and formatting, and provides five practical examples demonstrating custom editors, converters, global binders, and field restrictions.

@InitBinderCustom ConverterJava
0 likes · 6 min read
Mastering @InitBinder in Spring Boot 3: Custom Data Binding Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 28, 2023 · Backend Development

How to Build and Register a Custom HttpMessageConverter in Spring Boot

This guide explains why and how to create a custom HttpMessageConverter in Spring Boot 2.7.12, covering the implementation of the converter, its registration in the MVC configuration, testing with Postman, and the underlying request‑response processing mechanism.

Backend DevelopmentCustom ConverterHttpMessageConverter
0 likes · 7 min read
How to Build and Register a Custom HttpMessageConverter in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 24, 2023 · Backend Development

Create a Custom HttpMessageConverter in Spring Boot 2.6

This article demonstrates how to create a custom HttpMessageConverter in Spring Boot 2.6.12 to parse a simple “name:张三,age:20” string into a Users object, configure it in WebMvc, and explains the underlying Spring MVC request‑handling flow that invokes the converter.

Backend DevelopmentCustom ConverterHttpMessageConverter
0 likes · 8 min read
Create a Custom HttpMessageConverter in Spring Boot 2.6
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 19, 2023 · Backend Development

Master Custom Data Type Conversion in Spring Boot with Formatter SPI

This guide explains how to use Spring Boot's Formatter SPI to create custom type converters, implement both simple and annotation‑based formatters, register them in a WebMvcConfigurer, and test the conversions through REST endpoints, complete with code examples.

AnnotationCustom ConverterFormatter SPI
0 likes · 7 min read
Master Custom Data Type Conversion in Spring Boot with Formatter SPI
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 26, 2023 · Backend Development

How to Build a Custom HttpMessageConverter in Spring Boot 2.5

This guide explains how to implement a custom HttpMessageConverter in Spring Boot 2.5, covering the converter class, configuration, data model, controller, testing steps, and the internal request‑handling flow within the Spring MVC framework.

Backend DevelopmentCustom ConverterHttpMessageConverter
0 likes · 8 min read
How to Build a Custom HttpMessageConverter in Spring Boot 2.5
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 29, 2022 · Backend Development

Mastering Spring @InitBinder: Custom Data Binding in Spring Boot 2.4

This article explains how @InitBinder methods in Spring MVC can initialize WebDataBinder, register custom PropertyEditors, Converters, and Formatters, and demonstrates a complete example with code snippets, while also detailing the internal request‑handling flow that performs parameter binding and type conversion.

@InitBinderCustom ConverterData Binding
0 likes · 8 min read
Mastering Spring @InitBinder: Custom Data Binding in Spring Boot 2.4
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