title: Convert XML to JSON object in Android
body: <p>I have an XML string as shown below:</p>
  
  <pre><code>&lt;s:Envelope 
  xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;s:Body&gt;&lt;Response 
  xmlns="http://tempuri.org/"&gt;&lt;UserResult&gt;&lt;Users xmlns=""&gt;&lt;User&gt;
  &lt;Message&gt;Success&lt;/Message&gt;
  &lt;UserId&gt;213213213&lt;/UserId&gt;
  &lt;FullName&gt;Abc&lt;/FullName&gt;
  &lt;Roles&gt;
  &lt;Role&gt;
  &lt;RoleId&gt;23232333&lt;/RoleId&gt;
  &lt;RoleName&gt;Salesperson&lt;/RoleName&gt;
  &lt;/Role&gt;
  &lt;/Roles&gt;
  &lt;/User&gt;
  &lt;/Users&gt;
  &lt;/UserResult&gt;&lt;/Response&gt;
  &lt;/s:Body&gt;
  &lt;/s:Envelope&gt;
  </code></pre>
  
  <p>Is it possible to convert XML to JSON?</p>