Sha256: 717af574394256e931cbeec50dc3187c7e1f03b2744fb499c570471fb5e1fe13

Contents?: true

Size: 527 Bytes

Versions: 29

Compression:

Stored size: 527 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8

$: << File.dirname(__FILE__)
$oj_dir = File.dirname(File.expand_path(File.dirname(__FILE__)))
%w(lib ext).each do |dir|
  $: << File.join($oj_dir, dir)
end

require 'minitest'
require 'minitest/autorun'
require 'stringio'
require 'date'
require 'bigdecimal'
require 'oj'

class ParserJuice < Minitest::Test

  def test_array
    p = Oj::Parser.new(:debug)
    out = p.parse(%|[true, false, null, 123, -1.23, "abc"]|)
    puts out
    out = p.parse(%|{"abc": []}|)
    puts out
  end

end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
oj-3.14.3 test/test_parser_debug.rb
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/oj-3.13.2/test/test_parser.rb
oj-3.14.2 test/test_parser_debug.rb
oj-3.14.1 test/test_parser_debug.rb
oj-3.14.0 test/test_parser_debug.rb
oj-3.13.23 test/test_parser_debug.rb
oj-3.13.22 test/test_parser_debug.rb
oj-3.13.21 test/test_parser.rb
oj-3.13.20 test/test_parser.rb
oj-3.13.19 test/test_parser.rb
oj-3.13.18 test/test_parser.rb
oj-3.13.17 test/test_parser.rb
oj-3.13.16 test/test_parser.rb
oj-3.13.15 test/test_parser.rb
oj-3.13.14 test/test_parser.rb
oj-3.13.13 test/test_parser.rb
oj-3.13.12 test/test_parser.rb
oj-3.13.11 test/test_parser.rb
oj-3.13.10 test/test_parser.rb
oj-3.13.9 test/test_parser.rb