Sha256: 965eb82ce3dce30e66a57f84d35674dee073a4d97acc071ba8c85a10c7123e10

Contents?: true

Size: 358 Bytes

Versions: 12

Compression:

Stored size: 358 Bytes

Contents

require 'json/common'

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

  JSON_LOADED = true
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
json-jruby-1.4.3.1-universal-java-1.6 lib/json/ext.rb
json-jruby-1.4.3-universal-java-1.6 lib/json/ext.rb
json-jruby-1.4.1-universal-java-1.6 lib/json/ext.rb
json-jruby-1.4.0-universal-java-1.6 lib/json/ext.rb
json-jruby-1.2.4-universal-java-1.6 lib/json/ext.rb
json-jruby-1.2.3-universal-java-1.6 lib/json/ext.rb
json-jruby-1.2.2-universal-java-1.6 lib/json/ext.rb
json-jruby-1.2.0-universal-java-1.6 lib/json/ext.rb
json-jruby-1.1.7-universal-java-1.6 lib/json/ext.rb
json-jruby-1.1.7-universal-java-1.5 lib/json/ext.rb
json-jruby-1.1.6-universal-java-1.5 lib/json/ext.rb
json-jruby-1.1.6-universal-java-1.6 lib/json/ext.rb