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