前言 Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". Spring Boot 能快速创建出生产级别的Spring应用 Create stand-alone Spring applications 创建独立Spring应用 Embed Tomcat, Jetty or Undertow directly
哎,天下文章一大抄,到处都是一模一样的教你怎么替换掉jackson成fastjson的,可后续中文乱码网上居然没一篇文章.翻了一会源码还是写个文章共享下吧.免得后来人又浪费时间折腾. 在springboot中,就一步就把替换和乱码问题解决了,代码如下: @Configuration public class WebMvcConfig extends WebMvcConfigurerAdapter { /** * 利用fastjson替换掉jackson,且解决中文乱码问题 * @param co