Parsing Complex JSON Javascript
<p>I am able to parse JSON that returns simple data, with JSON.parse but I am having trouble with data that returns objects, dates, strings, etc..</p>

<pre><code>var theData=JSON.parse(theData);
</code></pre>

<p>Something like this JSON.parse returns [Object] object back with no data at all (I can see the data is being successfully returned because it returns all the data as a string if I have JSON.parse turned off). </p>

<pre><code>{"AppName":"TheName","AppUrl":"https:\/\/app\/icons\/unknown.png","aGUID":"45c055d2-2edc-d4444"."DateCreated":"8\/23\/2012 11:04AM", {"ID":"yser123",Name":"User"}}
</code></pre>

<p>What is the best way to go about parsing this data in javascript(I am not able to use jquery)?</p>

<p>Note: I had wrote the JSON assume its valid</p>

<p>Here is the code I am using to retreive the data..</p>

<pre><code>var xhReq = new XMLHttpRequest();
xhReq.open("POST", "ClientService.svc/REST/GetDetail", false);
xhReq.send(null);
var serverResponse = xhReq.responseText;
alert(serverResponse);
return serverResponse;
</code></pre>
