freebsd-ports/devel/rubygem-yajl-ruby077/pkg-descr
Philip M. Gollucci d5b5f0adea This gem is a C binding to the excellent YAJL JSON parsing and generation
library.

Features:
 * JSON parsing and encoding directly to and from an IO stream (file, socket,
   etc) or String. Compressed stream parsing and encoding supported for Bzip2,
   Gzip and Deflate.
 * Parse and encode multiple JSON objects to and from streams or strings
   continuously.
 * JSON gem compatibility API - allows yajl-ruby to be used as a drop-in
   replacement for the JSON gem
 * Basic HTTP client (only GET requests supported for now) which parses JSON
   directly off the response body *as it's being received*
 * ~3.5x faster than JSON.generate
 * ~1.9x faster than JSON.parse
 * ~4.5x faster than YAML.load
 * ~377.5x faster than YAML.dump
 * ~1.5x faster than Marshal.load
 * ~2x faster than Marshal.dump

WWW: https://github.com/brianmario/yajl-ruby

The current port would be a downgrade to this version
which is required by chef server.

PR:		ports/163363
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
With Hat:	ruby@
Sponsored by:	RideCharge Inc. / Taxi Magic
2011-12-16 22:31:48 +00:00

21 lines
846 B
Text

This gem is a C binding to the excellent YAJL JSON parsing and generation
library.
Features:
* JSON parsing and encoding directly to and from an IO stream (file, socket,
etc) or String. Compressed stream parsing and encoding supported for Bzip2,
Gzip and Deflate.
* Parse and encode multiple JSON objects to and from streams or strings
continuously.
* JSON gem compatibility API - allows yajl-ruby to be used as a drop-in
replacement for the JSON gem
* Basic HTTP client (only GET requests supported for now) which parses JSON
directly off the response body *as it's being received*
* ~3.5x faster than JSON.generate
* ~1.9x faster than JSON.parse
* ~4.5x faster than YAML.load
* ~377.5x faster than YAML.dump
* ~1.5x faster than Marshal.load
* ~2x faster than Marshal.dump
WWW: https://github.com/brianmario/yajl-ruby