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

Is there any way to configure or modify the parsing such that Klaxon can handle NaN in input? #364

Open
robert-dodier opened this issue Jan 17, 2024 · 0 comments

Comments

@robert-dodier
Copy link

The literal NaN is recognized by some JSON parsers as IEEE 754 not-a-number, but it appears that Klaxon doesn't. I looked at the source code and I wasn't able to find a flag to enable that.

Is there any way to tell Klaxon to recognize NaN in input?

Is there a simple way to supply some additional function or something to the parser to tell it how to handle NaN?

Thank you for any light you can shed on this problem.

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