MessagePack v7 (or later) is a faster implementation of the previous version v06, and supports all of the message pack types, including extension format.
MessagePack alternatives and similar libraries
Based on the "Serialization" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of MessagePack or a related project?
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.
Quick start for msgpack-java is available at Wiki.
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
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.