domains / families / software-engineering / swift-codable

swift-codable

separate

Implement Swift Codable models for JSON and property-list encoding and decoding with JSONDecoder, JSONEncoder, CodingKeys, and custom init(from:) or encode(to:). Use when parsing API responses, remapping keys, flattening nested JSON, handling date or data decoding strategies, decoding heterogeneous arrays, or integrating Codable with URLSession, SwiftData, or UserDefaults.

When to use

Skill page

Source

RepositoryPath
dpearson2699/swift-ios-skillsskills/swift-codable/SKILL.md