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

Disallow invalid NaN value in JSON #2

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

ChrisAntaki
Copy link
Contributor

@ChrisAntaki ChrisAntaki commented Dec 8, 2021

This PR updates the JSON generation to disallow the NaN value, since it makes JSON invalid. Surprisingly, the Python json lib defaults to allowing NaN 🤦‍♀️

This PR updates the JSON generation to disallow the `NaN` value, since it makes JSON invalid
@ChrisAntaki
Copy link
Contributor Author

image

@algokittens algokittens merged commit bde5b7a into algokittens:master Dec 8, 2021
algokittens pushed a commit that referenced this pull request Feb 18, 2022
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

Successfully merging this pull request may close these issues.

2 participants