formatjson
A simple JSON validator and 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" }