devel/rubygem-yajl-ruby 1.4.3 MidnightBSD
Streaming JSON parsing and encoding library for Ruby
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, rubygems
Description
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
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/rubygem-yajl-ruby | 1.4.3 |
| FreeBSD | devel/rubygem-yajl-ruby | 1.4.3 |
| DragonFly | devel/rubygem-yajl-ruby | 1.4.3 |
Install
Binary package:
mport install yajl-ruby
From mports:
cd /usr/mports/devel/rubygem-yajl-ruby && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= yajl-ruby>0:devel/rubygem-yajl-ruby
Dependencies
Required by 1
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/yajl-ruby-1.4.3.gem | 558592 | 8c974d9c11ae07b0a3b6d26efea8407269b02e4138118fbe3ef0d2ec9724d1d2 |
Master sites 1
- RG