| Crates.io | yaml2json |
| lib.rs | yaml2json |
| version | 0.1.3 |
| created_at | 2022-09-02 03:21:45.623484+00 |
| updated_at | 2022-09-02 04:06:17.352539+00 |
| description | Convert YAML to JSON |
| homepage | https://github.com/dafu-wu/yaml2json |
| repository | |
| max_upload_size | |
| id | 657157 |
| size | 13,286 |
A command-line tool that converts YAML to JSON.
$ cargo install yaml2json
Convert YAML on stdin to JSON, filtering it through jq:
$ yaml2json <<< 'okay = "ok"' | jq
Convert YAML from a file and pretty-print it without jq:
$ yaml2json --pretty ./demo.yaml