Sha256: f14b7098f8675877c53b4f3f1310dbc7cff97b62a551340df14bdc9a62853b05

Contents?: true

Size: 390 Bytes

Versions: 314

Compression:

Stored size: 390 Bytes

Contents

require 'json/common'

module JSON
  # This module holds all the modules/classes that implement JSON's
  # functionality in pure ruby.
  module Pure
    require 'json/pure/parser'
    require 'json/pure/generator'
    $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

314 entries across 300 versions & 38 rubygems

Version Path
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.5 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.4 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.3 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.2 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.1 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.2.0 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.99 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.98 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.97 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.96 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.95 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.94 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.93 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.91 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.90 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb