-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Consider a better default for JSR-310 Jackson rendering #11079
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Absolutely. |
+1. I think this is definitely consistent with the "batteries" included idea of spring-boot default/auto config. |
bclozel
added a commit
to bclozel/s1p2017-demo
that referenced
this issue
Dec 21, 2017
This commit updates the applications to Spring Boot 2.0.0.M7. One small change is required in the JS client. Since in spring-projects/spring-boot#11079 the Jackson serialization format for dates has been flipped, the client needs to parse the date instead of just processing it as raw EPOCH time.
Nothing was mentioned in the document. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Although Boot makes it quite easy to render JSR-310 dates as ISO-8601 strings, it still requires flipping
spring.jackson.serialization.write-dates-as-timestamps
tofalse
(see this article for all steps needed).Maybe 2.0 is the chance to flip the default to
false
in the first place, and align with the set of better defaults that Boot' Jackson has already implemented (e.g. ignoring unknown properties by default).The text was updated successfully, but these errors were encountered: