根据,如果我设置了spring.jackson.date-format属性,它将是:Date format string or a fully-qualified date format class nameInstant getNow(){ }
这个src/main/resources/application.properties compile('
它可以像预期的那样用于序列化(当我得到User时),但是对于反序列化(注册User),Jackson返回以下内容:
Resolved [org.springframework.http.converter.HttpMessageNotReadableExceptionfound for an instance of `.entity.User`, to assign to property 'id'; nested exception is com.fasterxml.jackson.databind.