标签:
var jsonFormatter = config.Formatters.OfType<JsonMediaTypeFormatter>().First(); jsonFormatter.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver();
Json.Net 解析格式化属性
原文地址:http://www.cnblogs.com/rohelm/p/4318713.html