Sha256: ffc6dddb59ccb667d1aa7c9ab313d7dc29cca6de6716c969ebff0e3fa277435d

Contents?: true

Size: 468 Bytes

Versions: 17

Compression:

Stored size: 468 Bytes

Contents

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

# Ubuntu does not accept arguments to ruby when called using env. To get warnings to show up the -w options is
# required. That can be set in the RUBYOPT environment variable.
# export RUBYOPT=-w

$VERBOSE = true

$: << File.join(File.dirname(__FILE__), "../lib")
$: << File.join(File.dirname(__FILE__), "../ext")

require 'oj'

obj = Oj.load_file('bug.json', :mode => :object)

puts Oj.dump(obj, :mode => :object, :indent => 0)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
oj-2.9.4 test/bug.rb
oj-2.9.3 test/bug.rb
oj-2.9.2 test/bug.rb
oj-2.9.1 test/bug.rb
oj-2.8.0 test/bug.rb
oj-2.7.2 test/bug.rb
oj-2.7.1 test/bug.rb
oj-2.7.0 test/bug.rb
oj-2.6.1 test/bug.rb
oj-2.6.0 test/bug.rb
oj-2.5.5 test/bug.rb
oj-2.5.4 test/bug.rb
oj-2.5.3 test/bug.rb
oj-2.5.2 test/bug.rb
oj-2.5.1 test/bug.rb
oj-2.4.3 test/bug.rb
oj-2.4.2 test/bug.rb