hjson-rb
hjson-rb copied to clipboard
Hjson for Ruby
``` [1] pry(main)> require 'hjson' => true [2] pry(main)> Hjson.parse "1" ArgumentError: wrong number of arguments (given 2, expected 1) from /home/app/.rvm/gems/ruby-3.0.1/gems/hjson-0.1.2/lib/hjson/ast/parser.rb:41:in `initialize' [3] pry(main)> RUBY_VERSION => "3.0.1" ``` I...
Solves https://github.com/hjson/hjson-rb/issues/12 Please review
Would be helpful if HJSON reported the line number where a parsing error occurs.
See https://github.com/hjson/hjson/issues/74