设置
JsonConvert.DefaultSettings成功了。
JsonConvert.DefaultSettings = () => new JsonSerializerSettings{ Formatting = Formatting.Indented, TypeNameHandling = TypeNameHandling.Objects, ContractResolver = new CamelCasePropertyNamesContractResolver()};
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)