Sha256: 6759cf47337135c9954218820995d1f1337395906a1881264bba6c0cdb5d61cb

Contents?: true

Size: 391 Bytes

Versions: 333

Compression:

Stored size: 391 Bytes

Contents

require 'json/common'

module JSON
  # This module holds all the modules/classes that implement JSON's
  # functionality as C extensions.
  module Ext
    require 'json/ext/parser'
    require 'json/ext/generator'
    $DEBUG and warn "Using Ext extension for JSON."
    JSON.parser = Parser
    JSON.generator = Generator
  end

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

Version data entries

333 entries across 319 versions & 42 rubygems

Version Path
json-maglev--1.6.1 lib/json/ext.rb
json_pure-1.6.1 lib/json/ext.rb
json-1.6.1 lib/json/ext.rb
json-1.6.1-java lib/json/ext.rb
json-1.6.0.1-java lib/json/ext.rb
json_pure-1.6.0 lib/json/ext.rb
json-1.6.0 lib/json/ext.rb
json-1.5.4-java lib/json/ext.rb
json_pure-1.5.4 lib/json/ext.rb
json-1.5.4 lib/json/ext.rb
json-1.5.0-java lib/json/ext.rb
json_pure-1.5.0 lib/json/ext.rb
json-1.5.0 lib/json/ext.rb