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.116 lib/knj/autoload/json.rb
knjrbfw-0.0.115 lib/knj/autoload/json.rb
knjrbfw-0.0.114 lib/knj/autoload/json.rb
knjrbfw-0.0.113 lib/knj/autoload/json.rb
knjrbfw-0.0.111 lib/knj/autoload/json.rb
knjrbfw-0.0.110 lib/knj/autoload/json.rb
knjrbfw-0.0.109 lib/knj/autoload/json.rb
knjrbfw-0.0.108 lib/knj/autoload/json.rb
knjrbfw-0.0.107 lib/knj/autoload/json.rb
knjrbfw-0.0.105 lib/knj/autoload/json.rb
knjrbfw-0.0.104 lib/knj/autoload/json.rb
knjrbfw-0.0.103 lib/knj/autoload/json.rb
knjrbfw-0.0.102 lib/knj/autoload/json.rb
knjrbfw-0.0.101 lib/knj/autoload/json.rb
knjrbfw-0.0.100 lib/knj/autoload/json.rb
knjrbfw-0.0.99 lib/knj/autoload/json.rb
knjrbfw-0.0.98 lib/knj/autoload/json.rb
knjrbfw-0.0.97 lib/knj/autoload/json.rb
knjrbfw-0.0.96 lib/knj/autoload/json.rb
knjrbfw-0.0.95 lib/knj/autoload/json.rb