public static SiteConfig Parse(String iConfigJSON) { try { SiteConfig pACgParsed = new SiteConfig(); pACgParsed.cJOtConfig = JObject.Parse(iConfigJSON); pACgParsed.cACIInfo = SiteConfigInfo.ParseJSON(pACgParsed.cJOtConfig["Info"].Value <JObject>()); pACgParsed.cACCCredentials = SiteConfigCredentials.ParseJSON(pACgParsed.cJOtConfig["Credentials"].Value <JArray>()); return(pACgParsed); } catch (Exception ex) { throw new AppConfigParseException(ex); } }