if ("node".equals(body.optString("subtype")) || "Window"
.equals(body.optString("className"))) {
return (T) new RemoteObject(body.getString("objectId"), this);
} else {
RemoteObject ro = new RemoteObject(body.getString("objectId"), this);
JSONObject o = new JSONObject(ro.stringify());
return (T) o;
}
}
return (T) new RemoteObject(body.getString("objectId"), this);