Skip to content

Ansen/json2yaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Convert the input json file to ymal

Example:

# Convert a single file: json_file.json ==> json_file.yaml
python3 json2yaml.py json_file.json

# Batch conversion: *.json ==> *.yaml
find backup -type f -name '*.json' -exec python3 json2yaml.py {} \;

About

Use python to convert json files to yaml

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages