title: remove slashes jquery from json
body: <p>I send data via ajax so:</p>
  
  <pre><code>$res = array();
  foreach($series as $i){
      //print_r($i);
      array_push($res, $i);
  }
  //print_r ($res);
  print (json_encode($res, JSON_UNESCAPED_SLASHES));
  </code></pre>
  
  <p>Get data:</p>
  
  <pre><code>success: function(json){
  alert(JSON.stringify(json));
  json = json.replace("\\", " ");
  alert(JSON.stringify(json));
  </code></pre>
  
  <p>It is alerting same datas, why? How can I remove slashes from json? Thanks</p>