SpringBoot JSON格式化设置

SpringBoot将Jackson用作默认的JSON工具,我们可以设置全局格式application.propertiesspring.jackson.date-format=yyyy-MM-dd HH:mm:ssapplication.ymlspring: jackson: date-format: yyyy-MM-dd HH:mm:ss但是设置只能使用它格式化Java类型 jav

- 阅读全文 -

springboot 常用默认配置

springboot 常用默认配置pom.xml <parent>; <groupId>;org.springframework.boot</groupId>; <artifactId>;spring-boot-starter-parent</artifactId>; <vers

- 阅读全文 -