mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
![]() Fix: https://github.com/ruby/json/issues/755
Error messages now include a snippet of the document
that doesn't parse to help locate the issue, however
the way it was done wasn't UTF-8 aware, and it could
result in exception messages with truncated characters.
It would be nice to go a bit farther and actually support
codepoints, but it's a lot of complexity to do it in C,
perhaps if we move that logic to Ruby given it's not a
performance sensitive codepath.
|
||
---|---|---|
.. | ||
fixtures | ||
json_addition_test.rb | ||
json_coder_test.rb | ||
json_common_interface_test.rb | ||
json_encoding_test.rb | ||
json_ext_parser_test.rb | ||
json_fixtures_test.rb | ||
json_generator_test.rb | ||
json_generic_object_test.rb | ||
json_parser_test.rb | ||
json_string_matching_test.rb | ||
ractor_test.rb | ||
test_helper.rb |