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.29 lib/knj/autoload/json.rb
knjrbfw-0.0.28 lib/knj/autoload/json.rb
knjrbfw-0.0.27 lib/knj/autoload/json.rb
knjrbfw-0.0.26 lib/knj/autoload/json.rb
knjrbfw-0.0.25 lib/knj/autoload/json.rb
knjrbfw-0.0.24 lib/knj/autoload/json.rb
knjrbfw-0.0.23 lib/knj/autoload/json.rb
knjrbfw-0.0.22 lib/knj/autoload/json.rb
knjrbfw-0.0.21 lib/knj/autoload/json.rb
knjrbfw-0.0.20 lib/knj/autoload/json.rb
knjrbfw-0.0.19 lib/knj/autoload/json.rb
knjrbfw-0.0.18 lib/knj/autoload/json.rb
knjrbfw-0.0.17 lib/knj/autoload/json.rb
knjrbfw-0.0.16 lib/knj/autoload/json.rb
knjrbfw-0.0.15 lib/knj/autoload/json.rb
knjrbfw-0.0.14 lib/knj/autoload/json.rb
knjrbfw-0.0.13 lib/knj/autoload/json.rb
knjrbfw-0.0.12 lib/knj/autoload/json.rb
knjrbfw-0.0.11 lib/knj/autoload/json.rb
knjrbfw-0.0.10 lib/knj/autoload/json.rb