Skip to content

vasil9v/yaml2json.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaml2json.py

Usage

  • directly: python yaml2json.py infile.yaml [outfile.json] If the input file is omitted, the output json will be printed to standard out.

  • setuptools:
    python setup.py develop yaml2json infile.yaml [outfile.json]

Dependencies

You might need the yaml module if it's not already installed. pip install yaml

Testing

You can run the unit tests within yaml2.json.py with: python -m unittest yaml2json

Development

About

Convert a YAML file to JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published