yaml2json
=========
[](https://github.com/dafu-wu/yaml2json/actions?query=workflow%3ACI)
[](https://crates.io/crates/yaml2json)
A command-line tool that converts TOML to JSON.
## Installation
### Cargo
```
$ cargo install yaml2json
```
## Usage
Convert YAML on `stdin` to JSON, filtering it through `jq`:
```bash
Convert YAML from a file and pretty-print it without `jq`:
```bash
$ yaml2json --pretty ~/.cargo/.crates.toml
```