parser_json: use JSON as fallback parser instead of Yajl for performance #573
Annotations
2 errors
Run tests:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/
- runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4
- .3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolca
+ che/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:71
+ 4>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Run tests
Process completed with exit code 1.
|
Loading