Skip to content
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

JSONWire parser is confused when reading a field after null resolves to Double NaN #953

Open
alamar opened this issue Oct 17, 2024 · 0 comments

Comments

@alamar
Copy link
Contributor

alamar commented Oct 17, 2024

df30777 defines that NaN is turned into null on writing, and null is turned into NaN double on reading.
However, it seems that parsing such null sets parser in some bad state where it can no longer parse next fields in the same object.

I will attach a reproducer test.

alamar added a commit that referenced this issue Oct 17, 2024
alamar added a commit that referenced this issue Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant