RubyGems.org

json-stream

0.1.2

A finite state machine based JSON parser that generates events for each state change. This allows us to stream both the JSON document into memory and the parsed object graph out of memory to some other process. This is much like an XML SAX parser that generates events during parsing. There is no requirement for the document nor the object graph to be fully buffered in memory. This is best suited for huge JSON documents that won't fit in memory. For example, streaming and processing large map/reduce views from Apache CouchDB.

installgem install json-stream
Authors

David Graham

1,461 total downloads 525 for this version
Owners

00d2d74a54584edbbfe92177dd21c342

Gemfile
gem "json-stream", "~> 0.1.2"
Versions
  1. 0.1.2 April 22, 2011
  2. 0.1.1 April 21, 2011
  3. 0.1.0 August 3, 2010