yaml2json
- zero config.
- supports Windows, Linux, macOS, FreeBSD, NetBSD, OpenBSD, Plan 9 etc..
go get -v github.com/bronze1man/yaml2json
echo "a: 1" | yaml2json
yaml2json < 1.yml > 2.json
- if you don't know whether your platform is 386 or amd64, use the 386 build...
- the master branch may rewrite history to save space.
- the source branch contains the full history of the source code.