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