SpringBoot中对输出的json按字典表排序

springboot默认的json处理为jackson。 若是是全局设置,在application.properties中添加spring.jackson.mapper.sort-properties-alphabetically=trueweb
相关文章
相关标签/搜索