/json2xml_Tsotne_Chakhvadze

JSON2XML - It transforms the json file into an XML file.

Primary LanguageYaccGNU General Public License v3.0GPL-3.0

JSON2XML

It transforms the json file into an XML file.

To use, it is necessary to install the programs:

  • gcc
  • bison
  • flex

to compile run:

make

To delete all intermediate files:

make clean

After compiling, to transform json file, run, like this:

./json2xml <example/test1.json >result.xml

There are two JSON files in the example directory.
(Both examples are copied from the web)
Do not forget to write '<' before your json file

And to see the results, run command:

gedit result.xml&