Sha256: 019d48ebe72a992abe9ea2113959d0dbeb0c9890d7a40b2472baef1e86b6a020
Contents?: true
Size: 456 Bytes
Versions: 96
Compression:
Stored size: 456 Bytes
Contents
require 'yajl' unless defined?(::Yajl) module MultiJson module Adapters # Use the Yajl-Ruby library to dump/load. module Yajl extend self ParseError = ::Yajl::ParseError def load(string, options={}) #:nodoc: ::Yajl::Parser.new(:symbolize_keys => options[:symbolize_keys]).parse(string) end def dump(object, options={}) #:nodoc: ::Yajl::Encoder.encode(object, options) end end end end
Version data entries
96 entries across 94 versions & 7 rubygems