title: Convert an XML file to Json using using Gson
body: <p>I found that many of the tutorials on the net and here on SO also refer to <code>net.sf.json</code> library to convert an xml file to json object.</p>
  
  <p>But, I want an alternative preferably using Gson. Is it possible? I don't have well defined Java Classes for the XML file. But, I just want to convert the xml file to <code>com.google.gson.JsonObject</code>. How to achieve it?</p>