Here is my Json Object example:
{"UserName":Mike,"IsActive":0,"ChbxIsActive":false,"MyAccountsAvailable":[{"Id":"157A","MyAccount":"CHRIS MCEL","MyCheckBox":false,"Tags":null},{"Id":"157B","MyAccount":"DAN BONE","MyCheckBox":false,"Tags":null}
Heres my attempt for part of the object:
$.getJSON('/ManageUsers/GetCheckBoxesJson', { clientId: clientId, user: user }, function (data) {
var items = [];
$.each(data, function (key, val) {
alert(key + " " + val);
});
Of course I am successful getting the data from the properties in the object, except not sure how to iterate over the array. I get [Object, Object] If someone could show a sample that would be great.