Sha256: 562efc4dab7f5e93f09f07d7299798e9323574b12cfec3343c2c0a6b92042dd8
Contents?: true
Size: 402 Bytes
Versions: 34
Compression:
Stored size: 402 Bytes
Contents
require '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
34 entries across 34 versions & 2 rubygems