Extensions giving Swift's Codable API type inference super powers π¦ΈββοΈπ¦ΉββοΈ
This version of Codextended adds an API for decoding optionals while still throwing an error if the decoding failed; named decodeIfPresent
(same as vanilla Codable). Thanks to @eseay for implementing this π
PropertyListDecoder
is now supported on non-Apple platforms when using Swift 5.1 (thanks @pvieito!)ISO8601DateFormatter
can now be used when decoding or encoding datesInitial release of Codextended.