title: issues with quotes in json string :php
body: <p>I have tried lots of things and could not get through yet. I have a json string with some single quotes, double quotes and some other characters which are causing an error when I am trying to iterate the json by converting in into an array.</p>
  
  <p>The quotes are escapes using addslashes and are going correctly in the database. But when I am converting the string to array using json_decode and stripslashes it says invalid argument passed to for loop. </p>
  
  <p>Please suggest.</p>
  
  <p>Thanks in advance.</p>