This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
attribute with null as value is not checked #81
Comments
Thanks for the PR, it's been added to the 0.15 release. |
Thx, Is the bug fix available on your p2 updatesite? |
It should be there now, release 0.15.0. |
It appears, that http://ghillairet.github.io/p2/ is not available. Are there some structural changes I'm not aware of? |
Fixed now. |
ghillairet
added a commit
that referenced
this issue
Apr 24, 2016
add test Splitting deserialization to use default jackson deseerializers when possible and specific emf deserializers when necessary.
ghillairet
added a commit
that referenced
this issue
Jul 27, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If a plain JSON is read like the following example:
The null that appears in rating is not checked and the deserialization stumbles and breaks.
The solution looks easy:
It looks like the following snippet would do the job if added to line 195 in the
EObjectDeserializer.readFeature
methodif (jp.getCurrentToken() == JsonToken.VALUE_NULL) { return; }
The text was updated successfully, but these errors were encountered: