%json2yaml(1) user manual | version 1.2.12 03b4ff7 % R. S. Doiel % 2024-11-14
json2yaml
json2yaml [OPTIONS] [JSON_FILENAME] [YAML_FILENAME]
json2yaml is a tool that converts JSON objects into YAML output.
-help : display help
-license : display license
-version : display version
-nl, -newline : if true add a trailing newline
-o, -output : output filename
-quiet : suppress error messages
These would get the file named "my.json" and save it as my.yaml
json2yaml my.json > my.yaml
json2yaml my.json my.taml
cat my.json | json2yaml -i - > my.taml
json2yaml 1.2.12