Here’s a nice straightforward, useful library that simplifies a problem all of us Swift developers face all the time: defaulting values when parsing JSON files.
DefaultCodable is a Swift µpackage that provides a convenient way to define default values in Codable types for properties that are not present or have a nil value.