We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A JSON in the form {"propertyName":"null"} is interpreted as the propertyName is null e.g. {"propertyName":null}.
This makes it impossible to send a "null" value as String within JSON.
To Reproduce Json.parseToJsonElement("""{"propertyName":"null"}""")
Expected behavior A JSON in the form {"propertyName":"null"} is deserialized as a String with value "null"
Environment
The text was updated successfully, but these errors were encountered:
Read JsonNull only for non-string literals in JsonTreeReader
c2562f0
Fixes #1466
23b3c8f
qwwdfsad
No branches or pull requests
A JSON in the form {"propertyName":"null"} is interpreted as the propertyName is null e.g. {"propertyName":null}.
This makes it impossible to send a "null" value as String within JSON.
To Reproduce
Json.parseToJsonElement("""{"propertyName":"null"}""")
Expected behavior
A JSON in the form {"propertyName":"null"} is deserialized as a String with value "null"
Environment
The text was updated successfully, but these errors were encountered: