add: var response = String(ajax.responseText + ''); if ( response.substr(0, 1) != '{' ) { handle_invalid_json(ajax.responseText); return false; } try { data = parseJSON(ajax.responseText); } catch(e) { handle_invalid_json(ajax.responseText); } 
context:   ajaxPost(stdAjaxPrefix+'&_mode=acljson', 'acl_params='+params, function() {      if(ajax.readyState == 4)      {        __aclBuildWizardWindow();        groups = parseJSON(ajax.responseText);        if ( groups.mode == 'error' )        {          alert(groups.error);          killACLManager();          return false;        }        aclDataCache = groups;        __aclBuildSelector(groups);      }    });
meta: 3765	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3765/d7141bbfd35c2b2bc6e3720f56cfebedaeb26b35/acl.js/clean/includes/clientside/static/acl.js