Java android parse response from server to object or get a Value : <p>Parse response from server to Object, I post to server a JSON and this is a answer :</p>

<pre><code> &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;&lt;login_result&gt;&lt;sctoken&gt;a1fc912a-5c7a352b-8edf-4a54-a396-c6c5aea58c8b&lt;/sctoken&gt;&lt;user_descr&gt;Jan Nowak&lt;/user_descr&gt;&lt;maps&gt;&lt;tms&gt;&lt;name&gt;** MapCenterCache&lt;/name&gt;&lt;url&gt;http://cache2.smok.net.pl/cache_2015/element?s=%zoom%&amp;amp;x=%x%&amp;amp;y=%y%&lt;/url&gt;&lt;/tms&gt;&lt;tms&gt;&lt;name&gt;OSM Mapnik&lt;/name&gt;&lt;url&gt;http://tile.openstreetmap.org/%zoom%/%x%/%y%.png&lt;/url&gt;&lt;/tms&gt;&lt;tms&gt;&lt;name&gt;OSM****1&lt;/name&gt;&lt;url&gt;http://51.254.61.18:8104/tile/tilecache.cgi/1.0.0/osm_server_elte/%zoom%/%x%/%y%.png&lt;/url&gt;&lt;/tms&gt;&lt;tms&gt;&lt;name&gt;*****&lt;/name&gt;&lt;url&gt;http://mapa.***.net.pl/tms/%zoom%/%x%/%y%.png&lt;/url&gt;&lt;/tms&gt;&lt;/maps&gt;&lt;/login_result&gt;
</code></pre>
