protected ProxyConfig(Map<String, Object> rootConfig) {
this.rootConfig = rootConfig;
}
public static ProxyConfig parse(String json) {
JSONDecoder decoder = new JSONDecoder(json);
ProxyConfig config = new ProxyConfig((Map<String, Object>) decoder.parse());
return config;
}