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.49 lib/knj/autoload/json.rb
knjrbfw-0.0.48 lib/knj/autoload/json.rb
knjrbfw-0.0.47 lib/knj/autoload/json.rb
knjrbfw-0.0.46 lib/knj/autoload/json.rb
knjrbfw-0.0.45 lib/knj/autoload/json.rb
knjrbfw-0.0.44 lib/knj/autoload/json.rb
knjrbfw-0.0.43 lib/knj/autoload/json.rb
knjrbfw-0.0.42 lib/knj/autoload/json.rb
knjrbfw-0.0.41 lib/knj/autoload/json.rb
knjrbfw-0.0.40 lib/knj/autoload/json.rb
knjrbfw-0.0.39 lib/knj/autoload/json.rb
knjrbfw-0.0.38 lib/knj/autoload/json.rb
knjrbfw-0.0.37 lib/knj/autoload/json.rb
knjrbfw-0.0.36 lib/knj/autoload/json.rb
knjrbfw-0.0.35 lib/knj/autoload/json.rb
knjrbfw-0.0.34 lib/knj/autoload/json.rb
knjrbfw-0.0.33 lib/knj/autoload/json.rb
knjrbfw-0.0.32 lib/knj/autoload/json.rb
knjrbfw-0.0.31 lib/knj/autoload/json.rb
knjrbfw-0.0.30 lib/knj/autoload/json.rb