Skip to content
prettyjson - command line JSON format tool.
Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.lock
Cargo.toml
LICENSE
README.md
build.rs

README.md

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"
}
You can’t perform that action at this time.