-
Notifications
You must be signed in to change notification settings - Fork 14
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
Null being deserialized as null literal instead of JsonValue.NULL #16
Milestone
Comments
marcospassos
changed the title
Null being deserialized as null instead of JsonValue.NULL
Null being deserialized as null literal instead of JsonValue.NULL
Mar 3, 2020
Any chance for a small reproduction? :) Deserializer seems to handle JsonObjectBuilder b = _builderFactory.createObjectBuilder();
....
case VALUE_NULL:
b.addNull(name);
break;
// and in another place
switch (p.getCurrentToken()) {
...
case VALUE_NULL:
return JsonValue.NULL; so it is not immediately clear where |
@cowtowncoder Thanks your quick reply. I've just submitted a PR that includes the test and fix for the issue. |
cowtowncoder
added a commit
that referenced
this issue
Mar 4, 2020
cowtowncoder
added a commit
that referenced
this issue
Mar 4, 2020
10 tasks
Alas, need to revert due to #18, for 2.10.5. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The deserializer is deserializing null literally instead of
JsonValue.NULL
.The text was updated successfully, but these errors were encountered: