https://github.com/jameshiew/mpk2json
Small CLI tool to convert MessagePack files to JSON
https://github.com/jameshiew/mpk2json
cli json messagepack rust
Last synced: 9 months ago
JSON representation
Small CLI tool to convert MessagePack files to JSON
- Host: GitHub
- URL: https://github.com/jameshiew/mpk2json
- Owner: jameshiew
- License: mit
- Created: 2024-12-01T23:48:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-11T12:06:15.000Z (over 1 year ago)
- Last Synced: 2024-12-11T12:40:54.922Z (over 1 year ago)
- Topics: cli, json, messagepack, rust
- Language: Rust
- Homepage: https://github.com/jameshiew/mpk2json
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# mpk2json
[](https://crates.io/crates/mpk2json)
Small CLI tool to convert [MessagePack](https://msgpack.org/) files to JSON.
## Installation
```
cargo install mpk2json
```
## Usage
Prints JSON directly to stdout for redirection or piping to another tool.
```shell
mpk2json path/to/file.msgpack > path/to/file.json # save to file
mpk2json path/to/file.msgpack | jq --color-output | less # quick preview
```