module Yajl

def self.dump(obj, *args, &block)

For compatibility, has the same signature of Yajl::Encoder.encode
def self.dump(obj, *args, &block)
  Encoder.encode(obj, args, &block)
end

def self.load(str_or_io, options={}, read_bufsize=nil, &block)

For compatibility, has the same signature of Yajl::Parser.parse
def self.load(str_or_io, options={}, read_bufsize=nil, &block)
  Parser.parse(str_or_io, options, read_bufsize, &block)
end