gat

Convert between JSON, YAML
Installation
Homebrew
$ brew install koki-develop/tap/gonvert
go install
$ go install github.com/koki-develop/gonvert@latest
Releases
Download the binary from the releases page.
Usage
$ gonvert --help
Convert between JSON, YAML
Usage:
gonvert [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
json2yaml Convert JSON to YAML
yaml2json Convert YAML to JSON
Flags:
-h, --help help for gonvert
Use "gonvert [command] --help" for more information about a command.
JSON to YAML
$ gonvert json2yaml --help
Convert JSON to YAML.
Usage:
gonvert json2yaml [flags]
Aliases:
json2yaml, jsontoyaml, json2yml, jsontoyml, j2y, jtoy, jy
Flags:
-h, --help help for json2yaml
YAML to JSON
$ gonvert yaml2json --help
Convert YAML to JSON.
Usage:
gonvert yaml2json [flags]
Aliases:
yaml2json, yamltojson, yml2json, ymltojson, y2j, ytoj, yj
Flags:
-h, --help help for yaml2json
LICENSE
MIT