### Yaml2json To convert output to json, use the --tojson (or -j) flag. This can be used with any command. ### json2yaml To read in json, use the --fromjson (or -J) flag. This can be used with any command.