/// <summary>
 /// 功能: 从字符串加载配置
 /// </summary>
 /// <param name="config">配置对象</param>
 /// <returns></returns>
 public static JsonConfigInfo LoadFromObject(object config)
 {
     return(JsonConfigInfo.LoadFromString(JsonConvert.SerializeObject(config)));
 }
 /// <summary>
 /// 功能: 从字符串加载配置
 /// </summary>
 /// <param name="json">配置字符串</param>
 /// <returns></returns>
 public static JsonConfigInfo LoadFromString(string json)
 {
     return(JsonConfigInfo.LoadFromString(json));
 }