Convert YAML to JSON
MIT License
Convert YAML to JSON
$ yaml2json input.yaml # Output JSON to standard output
PATH
$ brew install suzuki-shunsuke/yaml2json/yaml2json
This is very simple.
map[interface{}]interface{}
to map[string]interface{}
with suzuki-shunsuke/go-convmap
We know there are already some tools to convert YAML to JSON, but we develop this tool, because we want a single executable binary for macOS, Linux / AMD64, ARM64. Unfortunately, we can't find a single executable binary for Linux ARM64.