-
-
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
val with simple camelCase and @JsonIgnore is included #172
Comments
I have the same issue. I've created some example project here, in case you want to try it: https://github.com/flawi/jackson-ignore-issue And I also can confirm that the issue persists for
|
I think link to workaround posted here can be helpful for someone. Just use |
still a workaround only / extra annotations/code though :) |
Issues last updated before 2020 are closed. |
This issue will be fixed in #630. |
Given the following code, i would presume that it prints an JSON Object with "message" as the only field:
If this code is run it prints:
{"message":"hello world","ccase":1}
The field cCase shouldn't be included. I think it's related to how the byte code is generated by the Kotlin Compiler. The class Test is translated to the following Java Code:
Notice that the getter for cCase is named getCCase().
The text was updated successfully, but these errors were encountered: