jackson springboot配置时间格式

yml文件中这样进行配置

spring:
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss

spring.jackson.date-format
指定日期格式,比如yyyy-MM-dd HH:mm:ss

原文地址:https://www.cnblogs.com/qingmuchuanqi48/p/11917310.html