Sha256: a66772c8b008684d68e65c0fb63ae802bdad17140f5fad111af922ef4307422f
Contents?: true
Size: 433 Bytes
Versions: 63
Compression:
Stored size: 433 Bytes
Contents
require 'yajl' require 'multi_json/adapter' module MultiJson module Adapters # Use the Yajl-Ruby library to dump/load. class Yajl < Adapter ParseError = ::Yajl::ParseError def load(string, options={}) ::Yajl::Parser.new(:symbolize_keys => options[:symbolize_keys]).parse(string) end def dump(object, options={}) ::Yajl::Encoder.encode(object, options) end end end end
Version data entries
63 entries across 56 versions & 11 rubygems