Sha256: 5584e9ad52463bcaef0d26440226c988ccd9062d8d75003d9515f186c68e7203

Contents?: true

Size: 292 Bytes

Versions: 101

Compression:

Stored size: 292 Bytes

Contents

require "rubygems"

begin
  if RUBY_ENGINE == "jruby"
    require "json/pure" #normal json has utf-8 encoding problems - knj.
  else
    require "json/pure"
    
    #deactivated because of problems with utf-8 encoding.
    #require "json/ext"
  end
rescue LoadError
  require "json/pure"
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
knjrbfw-0.0.94 lib/knj/autoload/json.rb
knjrbfw-0.0.93 lib/knj/autoload/json.rb
knjrbfw-0.0.92 lib/knj/autoload/json.rb
knjrbfw-0.0.91 lib/knj/autoload/json.rb
knjrbfw-0.0.90 lib/knj/autoload/json.rb
knjrbfw-0.0.89 lib/knj/autoload/json.rb
knjrbfw-0.0.88 lib/knj/autoload/json.rb
knjrbfw-0.0.87 lib/knj/autoload/json.rb
knjrbfw-0.0.86 lib/knj/autoload/json.rb
knjrbfw-0.0.85 lib/knj/autoload/json.rb
knjrbfw-0.0.84 lib/knj/autoload/json.rb
knjrbfw-0.0.83 lib/knj/autoload/json.rb
knjrbfw-0.0.82 lib/knj/autoload/json.rb
knjrbfw-0.0.81 lib/knj/autoload/json.rb
knjrbfw-0.0.80 lib/knj/autoload/json.rb
knjrbfw-0.0.79 lib/knj/autoload/json.rb
knjrbfw-0.0.78 lib/knj/autoload/json.rb
knjrbfw-0.0.77 lib/knj/autoload/json.rb
knjrbfw-0.0.75 lib/knj/autoload/json.rb
knjrbfw-0.0.74 lib/knj/autoload/json.rb