gonv
Convert between JSON, YAML and TOML.
Installation
Run the following command:
go install github.com/p1486/gonv
Or download prebuilt binary from the GitHub release page
Usage
$ gonv --help
Convert between JSON, YAML, and TOML.
Usage:
gonv [file]... [flags]
Flags:
-f, --format string Set the output format [possible values: json, yaml, toml]
-h, --help help for gonv
-p, --pretend Print converted data but not actually change annything
-q, --quiet Do not print log messages
-s, --style string Set the highlight style (default "github")
-v, --version version for gonv