/// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public static NewtonsoftJsonOption CamelCaseStyle()
        {
            var option = new NewtonsoftJsonOption
            {
                Settings = new JsonSerializerSettings
                {
                    //驼峰命名属性(生成小写字母开头的属性)
                    ContractResolver = new Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver()
                }
            };

            return(option);
        }
 public NewtonsoftJsonSerializer(NewtonsoftJsonOption option)
 {
     _option = option;
 }
 /// <summary>
 /// 使用驼峰命名格式
 /// </summary>
 public NewtonsoftJsonSerializer() : this(NewtonsoftJsonOption.CamelCaseStyle())
 {
 }