title: Laravel 5.8 missing protocol of URL when response json?
body: <p>I'm using laravel v5.8, and response to JSON with nested object. This nested object has value full url, but result has been remove protocol (http/s).</p>
  
  <pre><code>return response()-&gt;json(["url" =&gt; "http://example.com"]);
  </code></pre>
  
  <p>Expect:</p>
  
  <pre><code>{"url":"http://example.com"}
  </code></pre>
  
  <p>Actual:</p>
  
  <pre><code>{"url":"\/\/example.com"}
  </code></pre>
  
  <p>Tks</p>