摘要:
var jSetting = new JsonSerializerSettings {NullValueHandling = NullValueHandling.Ignore};var json = JsonConvert.SerializeObject(response, Formatting.Indented, jSetting);之前转换的JSON为:{"header":{"rspCode":"0000","rspDesc":"执行成功","rspErrorMsg":& 阅读全文