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.1.89 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.88 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.87 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.86 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.85 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.84 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.83 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.82 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.81 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.80 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.79 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.78 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.77 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.76 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.75 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.74 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.73 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.72 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.71 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb
harbr-0.1.70 vendor/bundle/ruby/3.2.0/gems/json-2.7.0/lib/json/pure.rb