if (object.has("proxiedHosts")) {
JSONObject proxied = object.getJSONObject("proxiedHosts");
Iterator allHosts = proxied.keys();
while (allHosts.hasNext()) {
String host = (String) allHosts.next();
pac.mapHost(host).toProxy(proxied.getString(host));
}
}
if (object.has("proxiedUrls")) {
JSONObject proxied = object.getJSONObject("proxiedUrls");