title: JSON.parse from php script
body: <p>I'm trying to get some JSON from a php script. Bit it is failing when I try to parse it.</p>
  
  <p>In the php script I use json_encode($result) and in the jQuery part I use this code:</p>
  
  <pre><code>complete: function(response){
                  console.log(response);
                  var parsed = JSON.parse(response);
                  var arr = [];
                  for(var x in parsed){ arr.push(parsed[x]);}
                  jQuery('#input_1_3').val(arr[1]);
                  jQuery('#input_1_4').val(arr[2]);
              }
  </code></pre>
  
  <p>When I log response in the console I get this:</p>
  
  <pre><code> Object { readyState=4, responseText="{"personeelsNummer":"1",...oonplaats":"Meerhout"}0", status=200, meer...}
  </code></pre>
  
  <p>What am I not seeing here?</p>