codable
Customizing how an external Swift type is encoded or decoded
Various ways to handle mismatches between how an external type is expected to be coded and the data format that an app is using.
Codable synthesis for Swift enums
How Codable’s auto-synthesis works for enums, and how that part of the system has been upgraded in Swift 5.5 to support associated values.
New Discover page: Codable
Discover Swift’s Codable protocol, how to fully leverage its compiler synthesis features, and how to use its surrounding APIs to write efficient serialization c…






