title: How to get JSON data from HTML using jsoup
body: <p>I am hitting a URL in WebView which returns a response in HTML format. I have tried to get JSON data from that HTML using Jsoup but not able to get that.</p>
  
  <p>I am getting data in below format :</p>
  
  <pre><code>&lt;pre style="word-wrap: break-word; white-space: pre-wrap;"&gt;{"status":"success","connected_id":"dfdffdffdfdfdf"}&lt;/pre&gt;
  </code></pre>
  
  <p>Now I want to get that <code>connected_id</code> from the above response but I am not able to get that.</p>
  
  <p>Code :</p>
  
  <pre><code>Document document = Jsoup.parse(html);
  Elements elements = document.select("pre");
  Log.d("TAG", " myHTMLResponseCallback1 : " + elements.attr("pre"));
  </code></pre>
  
  <p>I am not getting any value in <code>elements.attr("connected_id")</code>.</p>