Sha256: ee0e197c157b9e3c629b2667253a01e1edf9a135175b504f995d3f203b29c634
Contents?: true
Size: 426 Bytes
Versions: 66
Compression:
Stored size: 426 Bytes
Contents
require 'gson' unless defined?(::Gson) require 'multi_json/adapter' module MultiJson module Adapters # Use the gson.rb library to dump/load. class Gson < Adapter ParseError = ::Gson::DecodeError def load(string, options={}) ::Gson::Decoder.new(options).decode(string) end def dump(object, options={}) ::Gson::Encoder.new(options).encode(object) end end end end
Version data entries
66 entries across 64 versions & 10 rubygems