相关代码:
var serializerSettings = new JsonSerializerSettings { // 设置为驼峰命名 ContractResolver = new CamelCasePropertyNamesContractResolver() }; var result = JsonConvert.SerializeObject(data, serializerSettings);
标签:驼峰,C#,首字母,var,new,序列化 From: https://www.cnblogs.com/Poetwithapistol/p/17315165.html