这篇文章,主要介绍SpringBoot如何自定义Converter转换器和Formatter格式化器。
目录
一、数据转换器Converter
1.1、自定义Converter转换器
1.2、配置自定义的Converter
1.3、测试案例