MessagePack implementation for Ruby
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 1716 commits behind msgpack:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ext
lib
test
.gitignore
AUTHORS
ChangeLog
Gemfile
README.rdoc
Rakefile
msgpack.gemspec

README.rdoc

MessagePack

Description

MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small.

Simple usage is as follows:

require 'msgpack'
msg = [1,2,3].to_msgpack  #=> "\x93\x01\x02\x03"
MessagePack.unpack(msg)   #=> [1,2,3]

Use MessagePack::Unpacker for streaming deserialization.

Installation

Archive Installation

ruby extconf.rb
make
make install

Gem Installation

gem install msgpack

Copyright

Author

frsyuki <frsyuki@users.sourceforge.jp>

Copyright

Copyright © 2008-2011 FURUHASHI Sadayuki

License

Apache License, Version 2.0