title: How to convert string to json in Javascript
body: <p>In my application i am getting a response like below</p>
  <pre><code>{&quot;success&quot;:true,&quot;data&quot;:&quot;{\&quot;status\&quot;: \&quot;Failed\&quot;, \&quot;percentage_completed\&quot;: \&quot;0\&quot;, \&quot;actions\&quot;: \&quot;Error: Insufficient argument: 1\\n\&quot;}&quot;,&quot;message&quot;:&quot;Logs fetched successfully.&quot;}
  </code></pre>
  <p>How to Convert this in to JSON. Tried  JSON.parse doesnt seems to work. Is there any other way to covert this string into Valid JSON Format</p>