mirror of
https://github.com/jht5945/prettyjson.git
synced 2025-12-28 09:50:04 +08:00
457e986e1a36306d4c8a36956a1731f9cf9a206c
prettyjson
prettyjson - command line JSON format tool.
Install
cargo install --git https://github.com/jht5945/prettyjson
Usage
$ prettyjson --help
Usage:
prettyjson [OPTIONS] [FILE]
prettyjson - command line JSON pretty tool.
Positional arguments:
FILE FILE
Optional arguments:
-h,--help Show this help message and exit
-w,--tab-width TAB_WIDTH
Tab width, default 4
-v,--version Print version
$ echo '{"k": "value"}' | prettyjson
{
"k": "value"
}
Languages
Rust
100%