public static void main(String[] args) throws Exception {
    InputStream is = ConvertJSONtoXMLNoHints.class.getResourceAsStream("sample-json.txt");
    String jsonData = IOUtils.toString(is);

    XMLSerializer serializer = new XMLSerializer();
    JSON json = JSONSerializer.toJSON(jsonData);
    serializer.setTypeHintsEnabled(false);
    String xml = serializer.write(json);
    System.out.println(xml);
  }