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.72 lib/knj/autoload/json.rb
knjrbfw-0.0.71 lib/knj/autoload/json.rb
knjrbfw-0.0.70 lib/knj/autoload/json.rb
knjrbfw-0.0.69 lib/knj/autoload/json.rb
knjrbfw-0.0.68 lib/knj/autoload/json.rb
knjrbfw-0.0.67 lib/knj/autoload/json.rb
knjrbfw-0.0.66 lib/knj/autoload/json.rb
knjrbfw-0.0.65 lib/knj/autoload/json.rb
knjrbfw-0.0.64 lib/knj/autoload/json.rb
knjrbfw-0.0.63 lib/knj/autoload/json.rb
knjrbfw-0.0.62 lib/knj/autoload/json.rb
knjrbfw-0.0.59 lib/knj/autoload/json.rb
knjrbfw-0.0.58 lib/knj/autoload/json.rb
knjrbfw-0.0.57 lib/knj/autoload/json.rb
knjrbfw-0.0.55 lib/knj/autoload/json.rb
knjrbfw-0.0.54 lib/knj/autoload/json.rb
knjrbfw-0.0.53 lib/knj/autoload/json.rb
knjrbfw-0.0.52 lib/knj/autoload/json.rb
knjrbfw-0.0.51 lib/knj/autoload/json.rb
knjrbfw-0.0.50 lib/knj/autoload/json.rb