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 production/stable stage.
It's developed for Lua 5.1, 5.2, 5.3 & 5.4. There are 2 variants:
- one compatible with all interpreters since Lua 5.1
- another which uses the Lua 5.3 features
The sources are hosted on Framagit.
lua-MessagePack is available via LuaRocks:
luarocks install lua-messagepack # luarocks install lua-messagepack-lua53
lua-MessagePack is available via opm:
opm get fperrad/lua-messagepack
or manually, with:
make install LUAVER=5.2
The test suite requires the module lua-TestMore.
Copyright and License
Copyright © 2012-2019 François Perrad
This library is licensed under the terms of the MIT/X11 license, like Lua itself.