JsonSerializerSettings jss = new JsonSerializerSettings(); jss.NullValueHandling = NullValueHandling.Ignore; var data = JsonConvert.SerializeObject(lp, Formatting.Indented, jss);
JsonSerializerSettings jss = new JsonSerializerSettings(); jss.NullValueHandling = NullValueHandling.Ignore; var data = JsonConvert.SerializeObject(lp, Formatting.Indented, jss);