Friend try it like this :
$.parseJSON(msg), It will parse automatically and convert it in array type object.
My Ajax call :
// Add the page method call as an onclick handler for the div.
$("#oneRecord").click(function () {
alert();
$.ajax({
type: "GET",
url: "http://mysite/MyWcfService.svc/GetCustmer",
data:"id=0",
contentType: "application/json; charset=utf-8",
dataType: "json",
processData: true,
success: function (msg) {
// Replace the div's content with the page method's return.
//debugger;
msg = $.parseJSON(msg);
$(msg).each(function(index, record) {
$("#singleresult").append("<table width='250'><tr><th>ID</th><th>Name</th><th>Designation</th><th>Salary</th></tr>");
$("#singleresult").append("<tr><td>"+record.CustID+"</td><td>"+record.FirstName+" "+record.LastName+"</td><td>"+record.Designation+"</td><td>"+record.Salary+"</td></tr>");
$("#singleresult").append("</table>");
});
//$("#singleresult").text(msg);
},
error: function (err){
//debugger;
alert(err);
$("#singleresult").text(err.statusText);
}
});
});
My result data from service is :
"{\"BoolValue\":true, \"CustID\":1,\"Designation\":\"Analyst\", \"FirstName\":\"A1\", \"LastName\":\"B1\", \"Salary\":3093.9}"