Decoding Swift types that require additional data
Explains how to decode Swift Codable types when required data is missing from the JSON source, using partial models.
Explains how to decode Swift Codable types when required data is missing from the JSON source, using partial models.
A guide to extending Codable types in SwiftUI to work with AppStorage and SceneStorage for persistent data storage.
SwiftUIKit 3.3 update introduces Codable support for AppStorage, new list utilities, text editor styling, and image extensions for SwiftUI development.
Explores the challenges of designing a Codable format for Swift's AttributedString, focusing on Unicode complexities like grapheme clusters and normalization.
A Swift developer explores using Codable to encode/decode references between types, solving data duplication in JSON-based document models.
Explains how Swift 5.5's Codable API automatically synthesizes encoding/decoding for enums, including those with associated values.
Explains how to customize JSON encoding/decoding for external Swift types like TimeZone using wrapper types and Codable.
A guide to decoding various date formats (ISO 8601, seconds/milliseconds since 1970, custom) using Swift's Codable and JSONDecoder.
A guide on using Swift's JSONDecoder with .convertFromSnakeCase strategy to automatically map API snake_case keys to camelCase properties.
A guide to adding versioning and migration support to Swift Codable models while preserving automatic derivation.
A guide to parsing Excel XLSX files in Swift using Codable protocols, explaining the file structure and providing a technical approach.
A Swift tutorial demonstrating how to download and parse JSON data using the built-in URLSession and Codable protocol, without external dependencies.
A technical article exploring the implementation of a custom binary encoder/decoder for Swift using the Codable protocol.
An in-depth look at Swift 4's Codable protocol, exploring its features for automatic serialization and comparing it to older Apple serialization methods.