-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Can not deserialize unwrapped list when @JacksonXmlProperty
localName matches @JacksonXmlRootElement
localName
#86
Comments
|
I updated the stackoverflow question with an answer. I was able to work around this with a custom deserializer. I do think there might be a bug here though. |
Thanks -- it should be possible to add a unit test, see what is causing the issue here. |
Can confirm issue, any idea how this could be solved? |
…ason, as opposed to failing due to missing test method)
Unfortunately this test still fails, despite fixes that seemed like they would be relevant (esp #177). Still hope to figure it out eventually. |
I'm facing this same issue in version 2.10.0. Seems like it is trying to set |
I did some experimenting, and created some more examples that demonstrate this behavior. This does NOT assert that the described and tested behaviour is correct or a bug.
|
I fixed #393, which is probably related, but unfortunately that did not yet resolve this issue. |
@JacksonXmlProperty
localName matches @JacksonXmlRootElement
localName
Initially was planning to fix for 2.12 only, but as per user request, backport in 2.11 for 2.11.1. |
Please refer to http://stackoverflow.com/questions/20673153/using-jackson-to-deserialize-a-collection-of-children-with-the-same-type-as-the
I can not figure out how to deserialize a document like this:
Where each
test
element is deserialized into a simple POJO.Here is the code I am dealing with.
My imported dependencies:
The text was updated successfully, but these errors were encountered: