Parent

Methods

Yajl::Bzip2::StreamWriter

A wrapper around the Bzip2::Writer class for easier JSON stream encoding

Public Class Methods

encode(obj, io) click to toggle source

A helper method for encoding to a bzip2-compressed stream

Look up Yajl::Encoder#encode for parameter documentation

# File lib/yajl/bzip2/stream_writer.rb, line 9
def self.encode(obj, io)
  Yajl::Encoder.new.encode(obj, new(io))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.