msgpack-tools

Convert between MessagePack and JSON formats from the command line.

brewmacoslinux
Try with needOr install directly
Source

About

Command-line tools for converting between MessagePack and JSON

Commands

msgpack2jsonjson2msgpack

Examples

convert MessagePack file to JSON$ msgpack2json input.msgpack > output.json
convert JSON file to MessagePack$ json2msgpack input.json > output.msgpack
pretty print MessagePack as readable JSON$ msgpack2json input.msgpack | jq .
pipe JSON to MessagePack in a script$ cat data.json | json2msgpack | msgpack2json
convert MessagePack to JSON without saving file$ msgpack2json data.msgpack