Sha256: 161d87bb6f2cbc7f97789d09fd8eb6d84f87940c1e21ea0d01a1a79103ae0599

Contents?: true

Size: 499 Bytes

Versions: 412

Compression:

Stored size: 499 Bytes

Contents

if ENV['SIMPLECOV_COVERAGE'].to_i == 1
  require 'simplecov'
  SimpleCov.start do
    add_filter "/tests/"
  end
end
require 'json/common'
require 'json/pure/parser'
require 'json/pure/generator'

module JSON
  # This module holds all the modules/classes that implement JSON's
  # functionality in pure ruby.
  module Pure
    $DEBUG and warn "Using Pure library for JSON."
    JSON.parser = Parser
    JSON.generator = Generator
  end

  JSON_LOADED = true unless defined?(::JSON::JSON_LOADED)
end

Version data entries

412 entries across 368 versions & 60 rubygems

Version Path
alloy_sdk-0.1.0 vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/pure.rb
alloy_sdk-0.1.0 vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/pure.rb
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/json-1.8.6-java/lib/json/pure.rb
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/json-1.8.6-java/lib/json/pure.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/json-1.8.6-java/lib/json/pure.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/json-1.8.6-java/lib/json/pure.rb
engineyard-serverside-2.8.0 lib/vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.8.0.pre4 lib/vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.8.0.pre3 lib/vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.8.0.pre2 lib/vendor/json_pure/lib/json/pure.rb
scout-5.9.13 vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.8.0.pre lib/vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.7.0.pre lib/vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.6.19 lib/vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.6.17 lib/vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.6.16 lib/vendor/json_pure/lib/json/pure.rb
scout-5.9.12 vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.6.15.alpha1 lib/vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.6.15.cf2 lib/vendor/json_pure/lib/json/pure.rb
engineyard-serverside-2.6.15.pre lib/vendor/json_pure/lib/json/pure.rb