JSON_to_YAML

This script converts a JSON file into a YAML File.

Requirements

This script uses an external library call PyYAML which can be installed using either of the following two approaches:

  1. pip3 install pyyaml

  2. pip3 install -r requirements.txt

How to run this script?

Just type the following command:

python3 json_to_yaml.py -l "Your_json_file"

Example:

python3 json_to_yaml.py -l example.json