summaryrefslogtreecommitdiff
path: root/ruby/README
blob: 051a769a8751b663331f967ef96d98ffd51752da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

= 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 (c) 2008-2010 FURUHASHI Sadayuki
License::   Apache License, Version 2.0