title: Why does JSON encoder adds escaping character when encoding URLs?
body: <p>I am using <code>json_encode</code> in PHP to encode an URL</p>
  
  <pre><code>$json_string = array ('myUrl'=&gt; 'http://example.com');
  echo json_encode ($json_string);
  </code></pre>
  
  <p>The above code generates the following JSON string:</p>
  
  <pre><code>{"myUrl":"http:\/\/example.com"}   
  </code></pre>
  
  <p>Rather than</p>
  
  <pre><code>{"myUrl":"http://example.com"}
  </code></pre>
  
  <p>I am just newbie, which output is correct? Is JSON parser able to evaluate the second output correctly?</p>