Skip to content

sourcegraph/yj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yj

The yj command reads YAML from stdin (or a file) and writes JSON to stdout (or to a file with the -o flag).

Convert JSON to YAML with jy.

Examples

$ echo "hello: world" | yj
{"hello":"world"}

$ yj input.yml -o output.json

Install

Install the latest with go get -u github.com/sourcegraph/yj.