How can I exclude NULL entries from json. I de-serialize a string into a object list. I can access that null in that list but I want to exclude that null and stored not null rows into the list.
[ { "transactionId": 1778, "locName": "IL", }, { "transactionId": 1779, "locName": "NY", }, { "transactionId": 1774, "locName": "IL", }, { "transactionId": 1771, "locName": "NY" }, null ]
var result = JsonConvert.DeserializeObject<TList>(inputText);
>(inputText);`
– Freek W. Oct 10 '18 at 12:10