- var json = eval("(" + this.request.responseText + ")");
- this.callback(json, "json");
+
+ var json = null;
+ if (this.JSON == null)
+ json = eval("(" + this.request.responseText + ")");
+ else
+ json = JSON.parse(this.request.responseText, null);
+ this.callback(json, "json");