-
I tried to write some example codes to taste Jackson 3.0 in Spring 7.0, but Spring suggest use What the replacement of |
Beta Was this translation helpful? Give feedback.
Answered by
pjfanning
Jul 20, 2025
Replies: 1 comment
-
I found a test case that uses serializationInclusion in Jackson 2 and found its equivalent in Jackson 3 (JsonInclude4464Test). This test case changes its setup for 3.x to this:
in 2.x this was,
Obviously, this uses NON_DEFAULT but NON_EMPTY can be set in a similar way. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hantsy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found a test case that uses serializationInclusion in Jackson 2 and found its equivalent in Jackson 3 (JsonInclude4464Test).
This test case changes its setup for 3.x to this:
in 2.x this was,
Obviously, this uses NON_DEFAULT but NON_EMPTY can be set in a similar way.