msgpack/ruby/README

38 lines
714 B
Plaintext
Raw Normal View History

= MessagePack
== Description
2010-05-26 07:43:05 +09:00
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.
2010-05-26 07:43:05 +09:00
Simple usage is as follows:
2010-05-26 07:43:05 +09:00
require 'msgpack'
msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03"
MessagePack.unpack(msg) #=> [1,2,3]
2010-05-26 07:43:05 +09:00
Use MessagePack::Unpacker for streaming deserialization.
2010-05-26 07:43:05 +09:00
== Installation
2010-05-26 07:43:05 +09:00
=== Archive Installation
2010-05-26 07:43:05 +09:00
ruby extconf.rb
make
make install
2010-05-26 07:43:05 +09:00
=== Gem Installation
2010-05-26 07:43:05 +09:00
gem install msgpack
== Copyright
2009-02-22 15:14:21 +09:00
Author:: frsyuki <frsyuki@users.sourceforge.jp>
2010-05-26 07:43:05 +09:00
Copyright:: Copyright (c) 2008-2010 FURUHASHI Sadayuki
License:: Apache License, Version 2.0
2010-05-26 07:43:05 +09:00