mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-20 13:33:51 +01:00
38 lines
714 B
Plaintext
38 lines
714 B
Plaintext
|
|
= 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
|
|
|