For compatibility, has the same signature of Yajl::Encoder.encode
# File lib/yajl.rb, line 23 def self.dump(obj, *args, &block) Encoder.encode(obj, args, &block) end
For compatibility, has the same signature of Yajl::Parser.parse
# File lib/yajl.rb, line 18 def self.load(str_or_io, options={}, read_bufsize=nil, &block) Parser.parse(str_or_io, options, read_bufsize, &block) end
Generated with the Darkfish Rdoc Generator 2.