Sha256: b0c6fdf053a05fe1e62e852bc9b55ac2704d8e30479ce6a7b5efd927fff0efa9
Contents?: true
Size: 416 Bytes
Versions: 36
Compression:
Stored size: 416 Bytes
Contents
# encoding: UTF-8 module Yajl module Bzip2 # A wrapper around the Bzip2::Writer class for easier JSON stream encoding class StreamWriter < ::Bzip2::Writer # A helper method for encoding to a bzip2-compressed stream # # Look up Yajl::Encoder#encode for parameter documentation def self.encode(obj, io) Yajl::Encoder.new.encode(obj, new(io)) end end end end
Version data entries
36 entries across 36 versions & 5 rubygems