Methods

Yajl

Yajl

Ruby bindings to the excellent Yajl (Yet Another JSON Parser) ANSI C library.

Constants

VERSION

Public Class Methods

dump(obj, *args, &block) click to toggle source

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
load(str_or_io, options={}, read_bufsize=nil, &block) click to toggle source

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.