-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
NaN in JSON is not parsed correctly #640
Labels
Comments
I updated the JSOn parse and I think this fixed the issue |
facontidavide
added a commit
that referenced
this issue
Jul 25, 2022
@facontidavide Thanks! But the issue is still there though :D |
sorry to hear that. I will try to address it in the next release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Per the JSON specification, NaN floats cannot be represented natively, so many encoders substitute NaN with null. One would expect PJ to handle null values in JSON input as NaN for compatibility with this common case. Instead, we get this:
The JSON doc I used is:
The text was updated successfully, but these errors were encountered: