-
-
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
EXTERNAL_PROPERTY adds property multiple times and in multiple places #222
Comments
Ok, I'll have a look when I get a chance. Only one question question: is this with 2.2 (2.2.0 or 2.2.1)? |
2.2.1 |
Looking at code, I don't see anything obviously wrong. Combination of type info and additional POJO property could be related issues; or perhaps use of any setter/getter. But none of that should automatically cause issues... |
Alas, while the fix would be conceptually simple here:
actual implementation requires big changes to internal plumbing; probably mostly in And that seems like it needs to wait until 2.6 is released. |
One additional note: the way |
Amusing how things work. I was ready to postpone, but then figured out different angle for solving the issue, and that works. So fix is in |
I created an example of what I think the bug is here:
https://github.com/thatsnotright/jackson-bug
What I want is a class called Widget that has a WidgetConfig property. This WidgetConfig is, by default, extensible to any JSON properties which are added. However there are certain cases where I need a very specific set of properties extracted, but the others I do not care about.
Perhaps I am misunderstanding the use of EXTERNAL_PROPERTY.
Thanks,
Rob
The text was updated successfully, but these errors were encountered: