I have a Service which returns JSON using C#’s JavaScriptSerializer class.
jQuery
$.get('GlobalService/Index',
{ crudOperation: crudOperation,
globalType: globalType,
globalObject: globalObject
},
function (data) {
alert(data);
});
the callback function displays in the alert
[object XMLDocument]
How do I get to and parse the JSON object? The object has basic construction
{"field1":"data","field2":"more data",/*...~10 more of these*/}
1 Answer