0.0
No commit activity in last 3 years
No release in over 3 years
Stream objects over IO using Marshal, JSON, YAML, or Msgpack.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

object-stream

Stream objects over IO using Marshal, JSON, YAML, or Msgpack.

Note that JSON (using Yajl) and Msgpack both permit suspending partial reads when other input is available, while Marshal and YAML need to read complete objects. So, using Marshal or YAML in a single thread (such as a select loop) may lead to blocking if one stream has not produced a complete object. See examples/slow-sender.rb.