Skip to content

tsotne95/json2xml_Tsotne_Chakhvadze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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&