[Spring Boot] 抛弃JacksonBind, 使用Gson作为HttpMessageConverter
网上查了一大堆, 都写得跟个啥似的… 用Gson作为HttpMessageConverter很简单啊application.yml中添加:spring: http: converters: preferred-json-mapper: gson或者application.properties:spring.http.converters.preferred-j...
原创
2019-08-28 10:32:52 ·
1536 阅读 ·
0 评论