GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rep/msgpack: MessagePack is an extremely efficient object serialization library. It's like JSON, but very fast and small.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

913 Commits
913 Commits

Folders and files

NameName
Last commit message
Last commit date
cpp
cpp
 
 
erlang
erlang
 
 
example
example
 
 
haskell
haskell
 
 
java
java
 
 
msgpack
msgpack
 
 
perl
perl
 
 
php
php
 
 
python
python
 
 
ruby
ruby
 
 
test
test
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

MessagePack

Extremely efficient object serialization library. It's like JSON, but very fast and small.

What's MessagePack?

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.

Typical small integer (like flags or error code) is saved only in 1 byte, and typical short string only needs 1 byte except the length of the string itself. [1,2,3] (3 elements array) is serialized in 4 bytes using MessagePack as follows:

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

Performance

Serialization + Deserialization Speed Test

In this test, it measured the elapsed time of serializing and deserializing 200,000 target objects. The target object consists of the three integers and 512 bytes string. The source code of this test is available from frsyuki' serializer-speed-test repository.

Getting Started

Usage and other documents about implementations in each language are found at the web site.

Learn More

  • Project Web Site
  • MessagePack format specification
  • Repository at github
  • Wiki
  • MessagePack-RPC

About

MessagePack is an extremely efficient object serialization library. It's like JSON, but very fast and small.

msgpack.sourceforge.net/

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.