I\'m using JavaScriptSerializer to serialize some entity objects.
The problem is, many of the public properties contain null or default values. Is there any way to m
For the benefit of those who find this on google, note that nulls can be skipped natively during serialization with Newtonsoft.Json
var json = JsonConvert.SerializeObject( objectToSerialize, new JsonSerializerSettings {NullValueHandling = NullValueHandling.Ignore});