2020
09-24
09-24
SpringBoot如何使用Fastjson解析Json数据
方法一:1.在pom.xml文件下添加依赖包<dependency><groupId>com.alibaba</groupId><artifactId>fastjson</artifactId><version>1.2.15</version></dependency>2.修改启动文件packagemyshop;importjava.util.List;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.autoconfigure.SpringBootApplication;importorg.springframework.http.converter.HttpMessageConverter;importo...
继续阅读 >