title: issue when outputting an http:// address in a sub-array with json and php
body: <p>Im trying to achieve an output like this</p>
  
  <pre><code>{"status":"ok","0":{"id":"11","title":"digg","url":"http://www.digg.com"}}
  </code></pre>
  
  <p>but instead i am getting this</p>
  
  <pre><code>{"status":"ok","0":{"id":"11","title":"digg","url":"http:\/\/www.digg.com"}}
  </code></pre>
  
  <p>this is the php code im using to generate the json</p>
  
  <pre><code>$links = array('id'=&gt;'11','title'=&gt;'digg','url'=&gt;"http://www.digg.com");
  $msg = array('status'=&gt;'ok',$links);
  echo json_encode($msg);
  </code></pre>
  
  <p>any idea what is causing this?</p>
  
  <p><strong>UPDATE</strong>
  i should have been more clear
  if you notice the actual url, its inserting "\" before the "/" in the output. Is this supposed to happen, or is there a way to stop this?</p>