Compile: for use Qt add -DWITH_QT=ON to cmake parameters for use libxml2 and jsoncpp do not set this variable Usage: xml2json input.xml [output.json]