Sha256: 5c22e23a06f633c8df300a7b97a2e75a7b7d32945401309aa1abc5617bce18f3

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

#!/usr/bin/env ruby

require 'oj'

Oj::default_options = {cache_str: 0, cache_keys: true, mode: :strict}

puts "Ruby version: #{RUBY_VERSION}"
puts "Oj version: #{Oj::VERSION}"

puts "cache_keys: #{Oj::default_options[:cache_keys]}"
puts "cache_str: #{Oj::default_options[:cache_str]}"

Oj.load('{"":""}').each_pair {|k,v| puts "k.frozen?: #{k.frozen?}\nv.frozen?: #{v.frozen?}"}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oj-3.13.7 test/foo.rb
oj-3.13.6 test/foo.rb
oj-3.13.5 test/foo.rb