formatjson
A simple JSON formatter written in Rust.
For documentation check the docs.rs page.
Installation
Usage
-
As a command-line tool:
$ formatjson example.json Successfully formatted example.json -
As a library:
$ cargo run { "foo": "bar" }
A simple JSON formatter written in Rust.
For documentation check the docs.rs page.
As a command-line tool:
$ formatjson example.json
Successfully formatted example.json
As a library:
$ cargo run
{
"foo": "bar"
}