
springboot 用FastJson2 替代默认的 jackjson
Spring Boot 默认使用 jackson对数据进行 json 格式解析与与转化,下面为使用 fastjson2 替换默认的ackson 的方法1. 在 pom 文件中导入 fastjson2 相关依赖<dependency><groupId>com.alibaba.fastjson2</groupId><artifactId>fastjson2</artifactId><versi...