Class: Yajl::Bzip2::StreamWriter
- Inherits:
-
Bzip2::Writer
- Object
- Bzip2::Writer
- Yajl::Bzip2::StreamWriter
- Defined in:
- lib/yajl/bzip2/stream_writer.rb
Overview
A wrapper around the Bzip2::Writer class for easier JSON stream encoding
Class Method Summary collapse
-
.encode(obj, io) ⇒ Object
A helper method for encoding to a bzip2-compressed stream.