Crates.io | jy |
lib.rs | jy |
version | 1.0.1 |
source | src |
created_at | 2023-06-21 06:54:59.346034 |
updated_at | 2023-06-21 07:00:04.454633 |
description | A minimal json to yaml cli converter |
homepage | https://github.com/Jeansidharta/jy |
repository | https://github.com/Jeansidharta/jy |
max_upload_size | |
id | 895918 |
size | 6,134 |
This is an extremely simple JSON to YAML converter. It'll read JSON from stdin and print out YAML on stdout.
This was inspired by yj. Even though yj can do the same thing as this project, I wanted something very simple for this.
You must have the rust toolchain installed in your system. You can install it here if you need to.
cargo install jy
This program receives no arguments. It'll simply read from the stdin and write to stdout. Example:
echo "{\"potato\": \"tomato\"}" | jy
will output potato: tomato