/// <summary>
        /// 对象尝试序列化成Json字符串
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public static ConvertJsonResult M5_TryObjectToJson(this object obj, Formatting format)
        {
            var tryConvertResult = new ConvertJsonResult
            {
                IsConvertSuccess = false,
                ConvertData      = string.Empty
            };

            if (obj == null)
            {
                return(tryConvertResult);
            }

            try
            {
                tryConvertResult.ConvertData      = JsonConvert.SerializeObject(obj, format);
                tryConvertResult.IsConvertSuccess = true;
            }
            catch (Exception) { }

            return(tryConvertResult);
        }
        /// <summary>
        /// JSON dynamic 对象 尝试序列化成实体对象
        /// </summary>
        /// <typeparam name="T">需要返回的实例类型</typeparam>
        /// <param name="json">需要反序列化的json字符串</param>
        /// <returns></returns>
        public static ConvertJsonResult <T> M5_TryJsonToObject <T>(dynamic json) where T : class
        {
            var tryConvertResult = new ConvertJsonResult <T>
            {
                IsConvertSuccess = false,
                ConvertData      = default(T)
            };

            if (json == null)
            {
                return(tryConvertResult);
            }

            try
            {
                tryConvertResult.ConvertData      = JsonConvert.DeserializeObject <T>(Convert.ToString(json));
                tryConvertResult.IsConvertSuccess = true;
            }
            catch (Exception) { }

            return(tryConvertResult);
        }