formatjson 0.1.4

Formats JSON files
Documentation
# formatjson

A simple JSON formatter written in Rust.

For documentation check [the docs.rs page](https://docs.rs/formatjson).

## Installation

```bash
cargo install formatjson
```

## Usage

- As a command-line tool:

  ```console
  $ formatjson example.json
  Successfully formatted example.json
  ```

- As a library:

  ```rust
  fn main() {
      let json = formatjson::format_json(r#"{"foo":"bar"}"#).unwrap();
      println!("{}", json);
  }
  ```

  ```console
  $ cargo run
  {
    "foo": "bar"
  }
  ```