摘要: var jSetting = new JsonSerializerSettings {NullValueHandling = NullValueHandling.Ignore};var json = JsonConvert.SerializeObject(response, Formatting.Indented, jSetting);之前转换的JSON为:{"header":{"rspCode":"0000","rspDesc":"执行成功","rspErrorMsg":& 阅读全文
posted @ 2014-03-06 09:18 Nemo_Li 阅读(3931) 评论(1) 推荐(2) 编辑