msgpack

Binary serialization library for efficient data interchange formats.

brewmacoslinux
Try with needOr install directly
Source

About

Library for a binary-based efficient data interchange format

Examples

serialize data to binary format in C programs$ gcc -o program program.c -lmsgpack
deserialize binary msgpack data in Python$ python3 -c "import msgpack; data = msgpack.unpackb(binary_data)"
convert JSON to msgpack binary format$ python3 -c "import msgpack, json; print(msgpack.packb(json.load(open('file.json'))))"
compress structured data for network transmission$ msgpack-c library usage in embedded systems and protocols
store compact binary data in database$ # Use msgpack bindings in application code to pack/unpack database records