This script converts a JSON file into a YAML File.
This script uses an external library call PyYAML which can be installed using either of the following two approaches:
-
pip3 install pyyaml -
pip3 install -r requirements.txt
Just type the following command:
python3 json_to_yaml.py -l "Your_json_file"
Example:
python3 json_to_yaml.py -l example.json