I am passing a bunch of objects from a JSON but it turns out some of them have an empty string instead of a URL. My model expects a valid URL and I would rather skip the non-conforming objects than make the URL property optional.
This turns out to not be that straight-forward. Is there a built-in way to skip non-decodable objects from an array?