MessagePack is an efficient binary serialization format.
It lets you exchange data among multiple languages like JSON but it's faster and smaller.
It's a pure Lua implementation, without dependency.
It's really fast with LuaJIT.
The MessagePack specification is available at github.com/msgpack/msgpack.
lua-MessagePack is in beta stage.
It's developed for Lua 5.1 & 5.2, and an experimental refactor for Lua 5.3 is also available.
lua-MessagePack source can be downloaded from GitHub.
lua-MessagePack is available via LuaRocks:
luarocks install lua-messagepack
or manually, with:
The test suite requires the module lua-TestMore.
This library is licensed under the terms of the MIT/X11 license, like Lua itself.