Skip to content

Conversation

@mattpearson
Copy link

No description provided.

@vaidik
Copy link
Owner

vaidik commented Oct 27, 2020

What do you need NaN support for? What's the use-case?

@mattpearson
Copy link
Author

What do you need NaN support for? What's the use-case?

If a json contains mathematical metadata, a value could be NaN (example: standard deviation of a list, with only 1 element, has a NaN std dev).

Separately, it brings compatibility with Python's other json library https://docs.python.org/3/library/json.html since it supports NaN values

@mattpearson
Copy link
Author

Any thoughts on the above?

@vaidik
Copy link
Owner

vaidik commented Jan 23, 2021

The changes look good. Can you please add some test cases for this change? I will merge afterwards.

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