title: Laravel PHP JSON Decoding
body: <p>I have a code which looks like this</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>"""
  HTTP/1.0 200 OK\r\n
  Cache-Control: no-cache\r\n
  Content-Type:  application/json\r\n
  Date:          Tue, 08 Nov 2002 05:46:42 GMT\r\n
  \r\n
  {\n
      "request": {\n
          "body": ""\n
      },\n
      "response": {\n
          "status": 1,\n
          "users": [\n
              {\n
                  "user_id": 1,\n
                  "username": "john.doe",\n
                  "account_status": "1",\n
                  "online_status": 1,\n
              }
          ]\n
      }\n
  }
  """</code></pre>
  </div>
  </div>
  </p>
  
  <p>That value came from a database, the only problem I've got is that, I can't decode it using json_decode... Are there any class or function that can decode this to convert into array()?</p>