Skip to content

simple tool for converting yaml or json files into xml files.

License

Notifications You must be signed in to change notification settings

kobbled/yamljson2xml

Repository files navigation

yamljson2xml

simple tool for converting yaml or json files into xml files.

install

clone package to local machine

git clone https://github.com/kobbled/yamljson2xml

install package

cd yamljson2xml
pip setup.py install

add yamljson2xml/src to path (currently only for windows)

set PATH=%PATH%;\path\to\yamljson2xml\src

usage

convert json to xml

yamljson2xml file.json
//or
python yamljson2xml.py "file.json"

convert yaml to xml

yamljson2xml file.yml

save to file

yamljson2xml file.yml file.xml

use list tag type as attribute (see doc for dicttoxml)

yamljson2xml file.yml file.xml -t

convert yaml to json

yaml2json file.yml file.json

todo

  • write tests to make sure dicttoxml is working properly
  • write bash program to run in linux terminal

About

simple tool for converting yaml or json files into xml files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published