C#通过Newtonsoft序列化实现驼峰命名
JsonSerializerSettings serializerSettings = new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver() }; JsonConvert.SerializeObject(Object, Formatting.None, serializerSettings);
JsonSerializerSettings serializerSettings = new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver() }; JsonConvert.SerializeObject(Object, Formatting.None, serializerSettings);