-
Notifications
You must be signed in to change notification settings - Fork 688
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
Is there any processing logic related to NaN? #294
Comments
Yes. The writer detects NaNs and errors here: SBJson/Classes/SBJson5StreamWriter.m Lines 471 to 474 in e36f225
For the parser there really is no special handling: there's no way to represent NaN in the JSON grammar, and this parser implements the grammar accurately. Loss of floating-point precision for big numbers is the only issue I am aware of. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: