springboot默认的json处理为jackson。
如果是全局设置,在application.properties中添加spring.jackson.mapper.sort-properties-alphabetically=true
SpringBoot中对输出的json按字典表排序
最新推荐文章于 2024-05-05 16:15:34 发布
springboot默认的json处理为jackson。
如果是全局设置,在application.properties中添加spring.jackson.mapper.sort-properties-alphabetically=true