-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support mapping xsi:nil
marked elements as null
s (JsonToken.VALUE_NULL
)
#354
Comments
Note: one follow-up task, #359 -- but closed for 2.x |
xsi:nul
marked elements as null
s (JsonToken.VALUE_NULL
)xsi:nil
marked elements as null
s (JsonToken.VALUE_NULL
)
@cowtowncoder I have a test that's failing after upgrading to 2.10.x. It worked fine with 2.9.x. Any idea if this issue is related, and how I can configure the mapper to fix it? The test (kotlintest):
The failure:
I'm fine with The
|
It works if I replace the |
It is probably related to the way |
@cowtowncoder Created separate issue with test project in #378 |
Although XML specification does not specify semantics for
xsi:nil
(with appropriate namespace), XML Schema specification does, and so some Java XML libraries (including JAXB) support mapping it intonull
s.(there is the related question of generation/writing, but this issue covers only read side).
It would be good if Jackson did same mapping automatically.
For background, see
BigDecimal
etc values)The text was updated successfully, but these errors were encountered: