Skip to content

Document that SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS is disabled by default #38083

@lako12

Description

@lako12

In the documentation
https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto.spring-mvc
Section: 4.3. Customize the Jackson ObjectMapper

it is written:
The ObjectMapper (or XmlMapper for Jackson XML converter) instance (created by default) has the following customized properties:

MapperFeature.DEFAULT_VIEW_INCLUSION is disabled
DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES is disabled
SerializationFeature.WRITE_DATES_AS_TIMESTAMPS is disabled

In my application, however, I noticed that SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS is false while the default value is true.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions