-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Duplicate property produced #729
Comments
Ok. This is caused by Jackson's name discovery, which by default considers Jackson 2.5 did add Another alternative (and only choice if you are using an earlier version) would be to annotate getter with |
Thanks for your answer! I now understand the difference between Jackson and JavaBean serialization. |
@simopete I can add that to Jackson github wiki page -- thank you for pointing it out. Feel free to send PRs for updates, fixes too of course, but I can take care of this one now. |
Thank you for your work! I read the wiki again! It's good 👍 |
Hi there,
I made a simple class with a
@JsonProperty
annotated private field named eSenseValues. The field has getter method named getESenseValues().When I have serialized this class the json output had this field/property twice.
I think, it's a bug.
Here is my class and the json output:
The text was updated successfully, but these errors were encountered: