title: PHP JSON String escape Double Quotes inside value?
body: <p>I'm getting a JSON string from an api like this :</p>
  
  <pre><code>{ "title":"Example string's with "special" characters" }
  </code></pre>
  
  <p>which is not json decodable by using json_decode (its output is null).</p>
  
  <p>so I want to change it to something json decodable like :</p>
  
  <pre><code>{ "title":"Example string's with \"special\" characters" }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>{ "title":"Example string's with 'special' characters" }
  </code></pre>
  
  <p>in order to make json_decode function work, what should I do ?</p>