Replies: 0 comments 4 replies
-
If the problem is reproducible in Java, jackson-databind and if only Kotlin, kotlin-module. I suppose ur suggesting it's kotlin-module's regression? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Definitely sounds like Kotlin issue; will transfer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found a regression in 2.16.1 compared to 2.15.2.
if I create a jvm record class with non null annotations, they are not honored anymore by the object mapper.
for the following class
when an object with
omitFieldIfNull
set tonull
on this class, it is still included in the jsonIf I make the class a regular kotlin data class however, the annotation is honored.
If I downgrade jackson to 2.15.2, it works for jvm records again.
So a regression in handling of jsoninclude annotations on jvm records
Beta Was this translation helpful? Give feedback.
All reactions