简单设置:
var setting = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }; var json = JsonConvert.SerializeObject(options,setting);原文链接:https://www.f2er.com/json/289507.html
简单设置:
var setting = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }; var json = JsonConvert.SerializeObject(options,setting);原文链接:https://www.f2er.com/json/289507.html