title: Deserialize JSON array php
body: <p>I am trying to deserialize a JSON array returned from mssql:</p>
  
  <pre><code>[  
     {  
        "Cust_id":38,
        "Contact_id":159,
        "Installer":true,
        "Supervisor":true,
        "Admin":true,
        "Token":"26754782238745DD4B7FEFA375FD5160"
     }
  ]
  </code></pre>
  
  <p>The PHP code I'm using:</p>
  
  <pre><code>$user_data = json_decode($response['body'], true); 
  //$response['body'] being the json returned from mssql
  </code></pre>
  
  <p>But, if I try to print <code>$user_data[0]</code>, I get the output:</p>
  
  <pre><code>381591113C93986662D8AABBCC420C196F821D7E
  </code></pre>
  
  <p>Which is the value of the JSON, but concatenated.</p>
  
  <p>I have tried several combinations to no avail, all the other queries return without the array wrapper and deserialize fine.</p>
  
  <p>Any help would be greatly appreciated!</p>