jy

Crates.iojy
lib.rsjy
version1.0.1
sourcesrc
created_at2023-06-21 06:54:59.346034
updated_at2023-06-21 07:00:04.454633
descriptionA minimal json to yaml cli converter
homepagehttps://github.com/Jeansidharta/jy
repositoryhttps://github.com/Jeansidharta/jy
max_upload_size
id895918
size6,134
Jean Sidharta (Jeansidharta)

documentation

README

jy

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.

installation

You must have the rust toolchain installed in your system. You can install it here if you need to.

cargo install jy

Usage

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

Commit count: 3

cargo fmt