-
Notifications
You must be signed in to change notification settings - Fork 175
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
Serialization of isXXX fields changed in 2.10.1, adding is
prefix which was previously absent
#346
Comments
Attach
|
I looked #80 and release note at https://github.com/FasterXML/jackson-module-kotlin/blob/master/release-notes/VERSION-2.x |
Hi @LichKing-lee . There is a workaround if it's breaking things, and this is to add the |
is
prefix which was previously absent
@tokuhirom described it succinctly in #394:
They also create a repro https://github.com/tokuhirom/jackson-field-name-incompatiblity |
We will track this in #337 |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
failure on jackson-module-kotlin 2.10.1 or higher
This result is
{"age":32,"name":"changyong","isJunior":true}
Expected behavior
pass on jackson-module-kotlin 2.10.0 or lower
This result is
{"age":32,"name":"changyong","junior":true}
Versions
Kotlin:
Jackson-module-kotlin: 2.10.1 or higher
Jackson-databind: 2.10.4
Additional context
Does changed spec on serialize isXXX properties? or bug?
Thank you.
The text was updated successfully, but these errors were encountered: