4 releases

0.1.3 May 20, 2020
0.1.2 May 20, 2020
0.1.1 May 20, 2020
0.1.0 May 20, 2020

#714 in #cli-tool

MIT license

4KB
52 lines

Crates Badge License: MIT

PJS - Pretty JSON

A simple CLI tool to take json and output it formatted or minified, this depends entirely on serde_json.

Usage

pjs will read from stdin and output to stdout by default. This can be adjusted with the -f and -o flags respectively.

By default the tool will output formatted json, using the -m switch will output a formatting whitespace removed version.

License

This is licensed under the MIT license.

Dependencies

~0.7–1.2MB
~23K SLoC