title: jquery decode json object with double quoted keys
body: <p>I have a script that outputs a json string via json_encode in PHP.  The json string consists of </p>
  
  <pre><code>[{"custId":"2","custName":"John Inc"}]
  </code></pre>
  
  <p>The PHP script is initiated using </p>
  
  <pre><code>$.getJSON("customer.php", function(data){alert(data + '  ' + data.custName);});
  </code></pre>
  
  <p>The response is - </p>
  
  <pre><code>[object Object] undefined
  </code></pre>
  
  <p>Javascript recognises 'data' as an object but I cannot seem to reference the information using json dotted notation.</p>