title: Remove added backslashes from JSON string in Laravel
body: <p>So I'm trying to store some HTML code in the database and then retrieving it througth the API.</p>
  
  <p>Initial HTML:</p>
  
  <pre><code>&lt;img src="https://www.google.se/images/google_80w1ht.gif" alt="Google logo"&gt;
  </code></pre>
  
  <p>Then I store in the DB without any further hassle:</p>
  
  <pre><code>$data = $request-&gt;only(['content');
  
  $comment = $this-&gt;repo-&gt;update($data, $id);
  </code></pre>
  
  <p>If I go to MySQL Workbench, this is the data stored:</p>
  
  <pre><code>&lt;img src="https://www.google.se/images/google_80wht.gif" alt="Google logo"&gt;
  </code></pre>
  
  <p>However, the moment I retrieve it want want to output the HTML as a JSON parameter, it get's slahed all over the face.</p>
  
  <p>This is the json:</p>
  
  <pre><code>{"title": "&lt;img src=\"https://www.google.se/images/google_80w1ht.gif\" alt=\"Google logo\"&gt;"}
  </code></pre>
  
  <p>I have not applied any transformation nor during insert nor on retrieval.</p>
  
  <p>How can I remove the added extra backslashes? ()</p>