hbagdi / y2j

Convert YAML to JSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

y2j - a YAML to JSON converter

Why? Because writing nested YAML by hand during development and testing is easier than JSON.

Install

macOS

brew install hbagdi/tap/y2j

Linux

Navigate to the release page and install using a Debian or RPM package. Alternatively, you can take the .tar.gz file and install the binary in your $PATH.

Usage

echo "foo: bar" | y2j | http httpbin.org/post

About

Convert YAML to JSON

License:Apache License 2.0


Languages

Language:Go 100.0%