Deserialize only valid objects by ignoring errors
问题 Is there a built-in way (or a trick) for parsing only valid objects and ignoring invalid ones? Not a duplicate The question Ignoring an invalid field when deserializing json in Json.Net does not answer my question because it's about a custom serializer for a very specific field of date-time type. I'm seeking a generic solution working for any property and any object. In other words if anything is invalid, just ignore it and contintue to the next entry. As far as json is concerned, the file is