Sha256: c51a15e3a7c3a3143214e925673bdb335ea66a6009945213ea5e52c7c255c304

Contents?: true

Size: 451 Bytes

Versions: 99

Compression:

Stored size: 451 Bytes

Contents

require 'jrjackson' unless defined?(::JrJackson)
require 'multi_json/adapter'

module MultiJson
  module Adapters
    # Use the jrjackson.rb library to dump/load.
    class JrJackson < Adapter
      ParseError = ::JrJackson::ParseError

      def load(string, options={}) #:nodoc:
        ::JrJackson::Json.load(string, options)
      end

      def dump(object, options={}) #:nodoc:
        ::JrJackson::Json.dump(object)
      end
    end
  end
end

Version data entries

99 entries across 91 versions & 13 rubygems

Version Path
scout-5.9.13 vendor/multi_json/lib/multi_json/adapters/jr_jackson.rb
scout-5.9.12 vendor/multi_json/lib/multi_json/adapters/jr_jackson.rb
scout-5.9.11 vendor/multi_json/lib/multi_json/adapters/jr_jackson.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/multi_json-1.11.0/lib/multi_json/adapters/jr_jackson.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/multi_json-1.11.0/lib/multi_json/adapters/jr_jackson.rb
multi_json-1.11.0 lib/multi_json/adapters/jr_jackson.rb
scout-5.9.10.pre vendor/multi_json/lib/multi_json/adapters/jr_jackson.rb
scout-5.9.8 vendor/multi_json/lib/multi_json/adapters/jr_jackson.rb
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
asana2flowdock-1.0.0 vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb
scout-5.9.7.2.pre vendor/multi_json/lib/multi_json/adapters/jr_jackson.rb
scout-5.9.8.pre vendor/multi_json/lib/multi_json/adapters/jr_jackson.rb