1 java.io.File file = new java.io.File("/home/user/Source/starck-xsl/spec.json");
\r
2 String jsonStr = org.apache.commons.io.FileUtils.readFileToString(file);
\r
4 System.out.println(jsonStr);
\r
6 org.json.JSONObject json = new org.json.JSONObject(jsonStr);
\r
7 String xml = org.json.XML.toString(json);
\r
9 System.out.println(xml);
\r