title: JSON.parse() not working on jQuery data object
body: <p>I get a JSON file via jQuery <code>$.getJSON(url, function(data) {</code> ...
  and want to parse it with either</p>
  
  <pre><code>var obj = JSON.parse(data);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>var obj = jQuery.parseJSON(data);
  </code></pre>
  
  <p>The first line gives me "syntax error" (using IE8, should support <code>JSON.parse</code>), the second gives me "'center' is null or not an object".</p>
  
  <p>This is the valid JSON file I'm using:</p>
  
  <pre><code>{
  "center":{"lat":"51.99637","lon":"13.07520"},
  "locations":
  [
      { "name":"a string","info":"another string" },
      ... some more here ...
  ]
  }
  </code></pre>
  
  <p>I'm not too familiar with Javascript. What am I doing wrong?</p>
  
  <p>If I use a simple JSON array (= just the content of locations) I get valid data with <code>$.each</code>.
  Do I have to do something with data before I can use JSON.parse on it?</p>