LenientCodable โ resilient Codable decoding with macros (lenient by default, strict by opt-in)
Swift Forums
LenientCodable โ resilient Codable decoding with macros (lenient by default, strict by opt-in)
Hey everyone ๐ I'd like to share LenientCodable, a macro package for resilient Codable decoding. GitHub: GitHub - EngOmarElsayed/swift-lenient-codable: Swift macros for resilient Codable โ one unknown enum case or malformed array element no longer fails your whole response. Lenient by default, strict by explicit opt-in, with compile-time diagnostics and fix-its. ยท GitHub Docs: LenientCodable Documentation The problem Swift's synthesized decoding is all-or-nothing. One surprise an...
0 comments
No comments yet.