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将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