Sha256: 5626acb9e032c2f079937505b31ad8b7247fded481dfad54e2d4ef07bd86ccbe
Contents?: true
Size: 425 Bytes
Versions: 96
Compression:
Stored size: 425 Bytes
Contents
require 'gson' unless defined?(::Gson) module MultiJson module Adapters # Use the gson.rb library to dump/load. module Gson extend self ParseError = ::Gson::DecodeError def load(string, options={}) #:nodoc: ::Gson::Decoder.new(options).decode(string) end def dump(object, options={}) #:nodoc: ::Gson::Encoder.new(options).encode(object) end end end end
Version data entries
96 entries across 94 versions & 7 rubygems