Popularity
6.3
Stable
Activity
5.8
-
1,027
89
259

Description

MessagePack v7 (or later) is a faster implementation of the previous version v06, and supports all of the message pack types, including extension format.

Code Quality Rank: L1
Programming language: Java
Tags: Serialization    
Latest version: v0.8.18

MessagePack alternatives and similar libraries

Based on the "Serialization" category

Do you think we are missing an alternative of MessagePack or a related project?

Add another 'Serialization' Library

README

MessagePack for Java

MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON but it's faster and smaller. For example, small integers (like flags or error code) are encoded into a single byte, and typical short strings only require an extra byte in addition to the strings themselves.

You may be interested in how msgpack-java is faster than the other libraries. To know this, please see jvm-serializers, which is one of well-known benchmarks for comparing Java libraries of data serialization.

Build Status

Quick start

Quick start for msgpack-java is available at Wiki.

Build

To build the JAR file of MessagePack, you need to install Maven (http://maven.apache.org), then type the following command:

$ mvn package

To locally install the project, type

$ mvn install

To generate project files (.project, .classpath) for Eclipse, do

$ mvn eclipse:eclipse

then import the folder from your Eclipse.

Next, open the preference page in Eclipse and add the CLASSPATH variable:

M2_REPO = $HOME/.m2/repository

where $HOME is your home directory. In Windows XP, $HOME is:

C:/Documents and Settings/(user name)/.m2/repository

How to release

To relese the project (compile, test, tagging, deploy), please use the commands as follows:

$ mvn release:prepare
$ mvn release:perform

License

This software is distributed under Apache License, Version 2.0.


*Note that all licence references and agreements mentioned in the MessagePack README section above are relevant to that project's source code only.