You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Discussion of changes to default behavior in Jackson 3.0 #870
The release of Jackson 3.0 is a good opportunity to change the default behavior of jackson-module-kotlin.
So, if you have any suggestions, please reply to this issue.
For individual issues, I will create a new issue labeled 3.x and then summarize them in this issue.
Personally, I would like to organize KotlinFeature in particular.
Sounds good! I will link this from jackson-future-ideas.
One quick question: should this be converted to a Discussion instead of Issues?
One thing I have done with jackson-databind is having two labels: 3.0 for changes planned for immediate changes (which need to go in major version bump and couldn't go in further 3.x releases; or that I just hope to get out quickly), and 3.x for other things to tackle in 3.x releases (could be 3.0 but likely later).
One quick question: should this be converted to a Discussion instead of Issues?
I do not use Discussion much and feel that I would like to discuss on the Issue.
Also, my personal feeling is that not many people check Discussion.
If we were to convert, I would like to keep at least this Issue and move only individual agenda items to Discussion.
One thing I have done with jackson-databind is having two labels: ...
Thank you.
At this point I haven't fully sorted out what to do with kotlin-module, but I have at least recognized that it should be prioritized.
Let me check on a few more issues that need to be changed (and I also need to make an announcement to the community).
@weissale1
I apologize for not being able to respond adequately.
Unfortunately, the change did not make it into the official release of Jackson 3, so modifying the default behavior is difficult.
As you mentioned, this should have been discussed regarding whether it should be enabled by default.
I intend to investigate whether the default can be changed in Jackson 4.
Activity
cowtowncoder commentedon Dec 17, 2024
Sounds good! I will link this from
jackson-future-ideas.One quick question: should this be converted to a Discussion instead of Issues?
One thing I have done with
jackson-databindis having two labels:3.0for changes planned for immediate changes (which need to go in major version bump and couldn't go in further 3.x releases; or that I just hope to get out quickly), and3.xfor other things to tackle in 3.x releases (could be 3.0 but likely later).cowtowncoder commentedon Dec 18, 2024
Now created:
jackson-databindissue for possible change: Change default ofDeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVEStotruefor 3.0 jackson-databind#4858which determine whether change will be made, and cover actual change if so decided.
k163377 commentedon Dec 29, 2024
I do not use Discussion much and feel that I would like to discuss on the Issue.
Also, my personal feeling is that not many people check Discussion.
If we were to convert, I would like to keep at least this Issue and move only individual agenda items to Discussion.
Thank you.
At this point I haven't fully sorted out what to do with
kotlin-module, but I have at least recognized that it should be prioritized.Let me check on a few more issues that need to be changed (and I also need to make an announcement to the community).
cowtowncoder commentedon Dec 31, 2024
Ok, that is up to you wrt Kotlin module. :)
StrictNullChecksby default #886k163377 commentedon Jan 19, 2025
Added #886.
SingletonSupportby default #871module-info.javadirectly [JSTEP-11] #887Change of default settings for 3.0
hasRequiredMarkerimplementation to the 3.x specification #941strictNullChecksimplementation #942MethodHandles #943weissale1 commentedon Oct 7, 2025
I believe that the default behavior of converting property names to json properties needs to change. The best description that I found is here: #630
The rather long list of linked issues that follow issue 630 leads me to believe that this is long standing confusion to users.
k163377 commentedon Dec 31, 2025
@weissale1
I apologize for not being able to respond adequately.
Unfortunately, the change did not make it into the official release of
Jackson 3, so modifying the default behavior is difficult.As you mentioned, this should have been discussed regarding whether it should be enabled by default.
I intend to investigate whether the default can be changed in
Jackson 4.weissale1 commentedon Jan 20, 2026
@k163377 Thanks for the answer. Please let me know if I can help.