prettyjson

Crates.ioprettyjson
lib.rsprettyjson
version0.1.2
sourcesrc
created_at2019-12-11 17:09:14.17718
updated_at2019-12-11 17:16:35.788846
descriptionPrettyJSON
homepage
repositoryhttps://github.com/jht5945/prettyjson
max_upload_size
id188471
size23,920
Hatter Jiang (jht5945)

documentation

README

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"
}
Commit count: 30

cargo fmt