You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to deserialize an XML using JAckson. All is fine, except when xml element has attribute xsi:nil=true. Then XmlMapper reports errors on irrelevant xml nodes.
In future, please use mailing list for usage questions: issue tracker is for reporting bugs and requesting new features (supporting handling of xsi:nil seems like a valid feature request).
But as to ignoral, try using @JsonIgnore({ "nil" })?
Hello
I am trying to deserialize an XML using JAckson. All is fine, except when xml element has attribute xsi:nil=true. Then XmlMapper reports errors on irrelevant xml nodes.
How to make Jackson to ignore xsi:nil?
<Location xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance\" xsi:nil="true" />\
Thank you!
The text was updated successfully, but these errors were encountered: