Registry / serialization / object-stream

object-stream

JSON →
library0.8rbrubygemsunverified

Streams objects over IO using Marshal, JSON, YAML, or Msgpack serialization.

gem install object-stream
INSTALL
IMPORT
SIG · OBJECT-STREAM
O
object-stream
serializationrubyv0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ObjectStream
require 'object-stream'

Serialize and stream objects as JSON

require 'object-stream' stream = ObjectStream.new(StringIO.new, format: :json) stream << {hello: 'world'} stream.rewind stream.each { |obj| puts obj }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
object-stream — gem install object-stream · libregistry