[](https://crates.io/crates/jsontoml)
[](https://github.com/pepa65/jsontoml/actions/workflows/ci.yml)
[](https://deps.rs/repo/github/pepa65/jsontoml)
[](https://docs.rs/crate/jsontoml/latest)
[](https://github.com/pepa65/jsontoml/blob/master/LICENSE)
[](https://crates.io/crates/jsontoml)
# jsontoml 0.2.21
**Convert a JSON file to TOML on the CLI**
* Repo: https://github.com/pepa65/jsontoml
* After [json2toml](https://github.com/voidei/json2toml)
* Inspired heavily by [toml2json](https://github.com/woodruffw/toml2json/)
## Usage
```
jsontoml 0.2.21 - Convert a JSON file to TOML on the CLI
Usage: jsontoml [input]
Arguments:
[input] JSON file to convert to TOML
Options:
-h, --help Print help
-V, --version Print version
```
## Example
* Input: `input.json`:
```json
{"key": "value", "key2": "value2"}
```
* Command: `jsontoml input.json >output.toml`
* Output: `output.toml`:
```toml
"key" = "value"
"key2" = "value2"
```