Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 349 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 349 Bytes

json-to-yml

Converts .json file to .yml file with identical filename.

Install Dependencies

$ pip install -r requirements.txt or just $ pip install PyYAML==5.4.1

Run the script with the path to your JSON file

Example:

$ python json-to-yml.py ./path/to/file.json

Or copy the file and import the function to another python file