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
strict option is broken for pure-Ruby implementation #584
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this repo:
But of course Integer should be allowed.
The bug seems clear when looking at
json/lib/json/pure/generator.rb
Lines 357 to 363 in 4f876a8
json/lib/json/pure/generator.rb
Lines 400 to 406 in 4f876a8
It was added in #519 but with too few tests so they didn't catch this bug.
@byroot / @casperisfine Could you fix this?
The text was updated successfully, but these errors were encountered: