title: How to convert text/html response to JSON in typescript
body: <p>I am receive a response in text/html..how do i convert to JSON. I tried JSON.parse and JSON.stringfy but it wont work. And when I try to access properties on it, I get a value of undefined.</p>
  <p>the response with JOSN.stringfy is shown below</p>
  <blockquote>
  <p>{\n\t\t\t&quot;success&quot; : true,\n\t\t\t&quot;response&quot; : {\n\t\t\t&quot;property_api_item_id&quot; : &quot;63&quot;,\n\t\t\t&quot;property&quot;:&quot;house or rent&quot;,\n\t\t\t&quot;property_title&quot;:&quot;1 xxxx&quot;,\n\t\t\t&quot;property_content&quot;:&quot;&quot;,\n\t\t\t&quot;property_category&quot;:&quot;Residential lettings&quot;,\n\t\t\t&quot;property_category_id&quot;:&quot;44&quot;,\n\t\t\t&quot;property_price&quot;:&quot;377 pcm&quot;,\n\t\t\t&quot;property_location&quot;:&quot;ygt, HU5&quot;,\n\t\t\t&quot;property_country&quot;:&quot;IN&quot;,\n\t\t\t&quot;property_latitude&quot;:&quot;57.0989080&quot;,\n\t\t\t&quot;property_longitude&quot;:&quot;87.3489608&quot;,\n\t\t\t}}</p>
  </blockquote>