In Files

Methods

Yajl::Stream

DEPRECATED - See Yajl::Parser and Yajl::Encoder

Public Class Methods

encode(obj, str_or_io=nil) click to toggle source

DEPRECATED - See Yajl::Encoder

# File lib/yajl.rb, line 87
def self.encode(obj, str_or_io=nil)
  warn "WARNING: Yajl::Stream has be deprecated and will most likely be gone in the next release. Use the Yajl::Encoder class instead."
  Encoder.new.encode(obj, str_or_io)
end
parse(str_or_io) click to toggle source

DEPRECATED - See Yajl::Parser

# File lib/yajl.rb, line 81
def self.parse(str_or_io)
  warn "WARNING: Yajl::Stream has be deprecated and will most likely be gone in the next release. Use the Yajl::Parser class instead."
  Parser.new.parse(str_or_io)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.