Skip to content

Add allow_control_characters parsing option #1444

Add allow_control_characters parsing option

Add allow_control_characters parsing option #1444

Triggered via pull request December 11, 2025 10:10
Status Failure
Total duration 3m 38s
Artifacts

ci.yml

on: pull_request
ruby-versions  /  Generate Ruby versions
5s
ruby-versions / Generate Ruby versions
Matrix: host
Fit to window
Zoom out
Zoom in

Annotations

14 errors
macos-latest jruby-head
Process completed with exit code 1.
Error: test/json/json_parser_test.rb#L177
JSON::ParserError: unexpected token at '""' json/ext/ParserConfig.java:239:in 'parse' /Users/runner/work/json/json/lib/json/ext.rb:27:in 'parse' /Users/runner/work/json/json/lib/json/ext.rb:12:in 'parse' /Users/runner/work/json/json/lib/json/common.rb:353:in 'parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:177:in 'block in test_parse_allowed_control_chars_in_string' org/jruby/RubyInteger.java:244:in 'upto' /Users/runner/work/json/json/test/json/json_parser_test.rb:176:in 'test_parse_allowed_control_chars_in_string' org/jruby/RubyKernel.java:1407:in 'catch' org/jruby/RubyKernel.java:1402:in 'catch' org/jruby/RubyArray.java:2093:in 'each' org/jruby/RubyArray.java:2093:in 'each' org/jruby/RubyKernel.java:1407:in 'catch' org/jruby/RubyKernel.java:1402:in 'catch'
macos-latest jruby-9.4
Process completed with exit code 1.
Error: test/json/json_parser_test.rb#L177
JSON::ParserError: unexpected token at '""' json/ext/ParserConfig.java:239:in `parse' /Users/runner/work/json/json/lib/json/ext.rb:27:in `parse' /Users/runner/work/json/json/lib/json/ext.rb:12:in `parse' /Users/runner/work/json/json/lib/json/common.rb:353:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:177:in `block in test_parse_allowed_control_chars_in_string' org/jruby/RubyInteger.java:221:in `upto' /Users/runner/work/json/json/test/json/json_parser_test.rb:176:in `test_parse_allowed_control_chars_in_string' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2018:in `each' org/jruby/RubyArray.java:2018:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
ubuntu-latest jruby-9.4
Process completed with exit code 1.
Error: test/json/json_parser_test.rb#L177
JSON::ParserError: unexpected token at '""' json/ext/ParserConfig.java:240:in `parse' /home/runner/work/json/json/lib/json/ext.rb:27:in `parse' /home/runner/work/json/json/lib/json/ext.rb:12:in `parse' /home/runner/work/json/json/lib/json/common.rb:353:in `parse' /home/runner/work/json/json/test/json/json_parser_test.rb:177:in `block in test_parse_allowed_control_chars_in_string' org/jruby/RubyInteger.java:221:in `upto' /home/runner/work/json/json/test/json/json_parser_test.rb:176:in `test_parse_allowed_control_chars_in_string' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2018:in `each' org/jruby/RubyArray.java:2018:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
macos-latest jruby
Process completed with exit code 1.
Error: test/json/json_parser_test.rb#L177
JSON::ParserError: unexpected token at '""' json/ext/ParserConfig.java:239:in 'parse' /Users/runner/work/json/json/lib/json/ext.rb:27:in 'parse' /Users/runner/work/json/json/lib/json/ext.rb:12:in 'parse' /Users/runner/work/json/json/lib/json/common.rb:353:in 'parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:177:in 'block in test_parse_allowed_control_chars_in_string' org/jruby/RubyInteger.java:244:in 'upto' /Users/runner/work/json/json/test/json/json_parser_test.rb:176:in 'test_parse_allowed_control_chars_in_string' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
ubuntu-latest jruby
Process completed with exit code 1.
Error: test/json/json_parser_test.rb#L177
JSON::ParserError: unexpected token at '""' json/ext/ParserConfig.java:239:in 'parse' /home/runner/work/json/json/lib/json/ext.rb:27:in 'parse' /home/runner/work/json/json/lib/json/ext.rb:12:in 'parse' /home/runner/work/json/json/lib/json/common.rb:353:in 'parse' /home/runner/work/json/json/test/json/json_parser_test.rb:177:in 'block in test_parse_allowed_control_chars_in_string' org/jruby/RubyInteger.java:244:in 'upto' /home/runner/work/json/json/test/json/json_parser_test.rb:176:in 'test_parse_allowed_control_chars_in_string' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
ubuntu-latest jruby-head
Process completed with exit code 1.
Error: test/json/json_parser_test.rb#L177
JSON::ParserError: unexpected token at '""' json/ext/ParserConfig.java:240:in 'parse' /home/runner/work/json/json/lib/json/ext.rb:27:in 'parse' /home/runner/work/json/json/lib/json/ext.rb:12:in 'parse' /home/runner/work/json/json/lib/json/common.rb:353:in 'parse' /home/runner/work/json/json/test/json/json_parser_test.rb:177:in 'block in test_parse_allowed_control_chars_in_string' org/jruby/RubyInteger.java:244:in 'upto' /home/runner/work/json/json/test/json/json_parser_test.rb:176:in 'test_parse_allowed_control_chars_in_string' org/jruby/RubyKernel.java:1407:in 'catch' org/jruby/RubyKernel.java:1402:in 'catch' org/jruby/RubyArray.java:2093:in 'each' org/jruby/RubyArray.java:2093:in 'each' org/jruby/RubyKernel.java:1407:in 'catch' org/jruby/RubyKernel.java:1402:in 'catch'
windows-latest jruby-head
Process completed with exit code 1.
Error: test/json/json_parser_test.rb#L177
JSON::ParserError: unexpected token at '""' json/ext/ParserConfig.java:240:in 'parse' D:/a/json/json/lib/json/ext.rb:27:in 'parse' D:/a/json/json/lib/json/ext.rb:12:in 'parse' D:/a/json/json/lib/json/common.rb:353:in 'parse' D:/a/json/json/test/json/json_parser_test.rb:177:in 'block in test_parse_allowed_control_chars_in_string' org/jruby/RubyInteger.java:244:in 'upto' D:/a/json/json/test/json/json_parser_test.rb:176:in 'test_parse_allowed_control_chars_in_string' org/jruby/RubyKernel.java:1407:in 'catch' org/jruby/RubyKernel.java:1402:in 'catch' org/jruby/RubyArray.java:2093:in 'each' org/jruby/RubyArray.java:2093:in 'each' org/jruby/RubyKernel.java:1407:in 'catch' org/jruby/RubyKernel.java:1402:in 'catch'