We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Steps to reproduce: ruby -rjson/pure -e 'p JSON.parse("{")'
ruby -rjson/pure -e 'p JSON.parse("{")'
Expected: unexpected token at '{' (JSON::ParserError)
unexpected token at '{' (JSON::ParserError)
Actual: {}
{}
The text was updated successfully, but these errors were encountered:
See oracle/truffleruby#1570 (comment) for the original issue (TruffleRuby uses json/pure currently).
So this is an issue of the pure version accepting input that the C-ext does not accept.
Sorry, something went wrong.
Duplicate of #314
No branches or pull requests
Steps to reproduce:
ruby -rjson/pure -e 'p JSON.parse("{")'
Expected:
unexpected token at '{' (JSON::ParserError)
Actual:
{}
The text was updated successfully, but these errors were encountered: