yj is handy for converting between YAML, TOML, JSON, and HCL. yes.
yj -yj -i < config.yaml > config.json
yj -yt -i < config.yaml > config.toml
yj -yc < config.yaml > config.hcl
yj is handy for converting between YAML, TOML, JSON, and HCL. yes.
yj -yj -i < config.yaml > config.json
yj -yt -i < config.yaml > config.toml
yj -yc < config.yaml > config.hcl