-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Migration to 3.0.0-rc1 issues #715
Comments
Regarding the java.time classes, have you registered the JavaTimeModule? https://github.com/FasterXML/jackson-modules-java8/tree/master/datetime https://repo1.maven.org/maven2/tools/jackson/datatype/jackson-datatype-jsr310/3.0.0-rc1/ |
Actually, I found the JavaTimeModule in the changed code. Not sure why 'year' is broken. So it now appears as |
I found FasterXML/jackson-modules-java8#355 for the year change. It looks like year is now deliberately serialized as a number. There appears to be a java annotation that might make it serialize as a string. fyi @cowtowncoder |
For Pretty Printer, I found a test in the master branch of jackson-databind that tests custom pretty printing. It uses
|
Regarding setSerializationInclusion, I think this is the equivalent
|
@pjfanning Thanks a lot for your support! I've solved all issues except serialization of
|
It should be possible to associate so something like
|
@cowtowncoder Thank you very much! It works for me! |
I'm trying to migrate on 3.0.0-rc1 here and don't know yet how to resolve remaining issues:
java.time.Year
as a JSON string (not a number);null
values forNone
;The text was updated successfully, but these errors were encountered: