CodableKit and swift-codable-macro
These are competitors offering overlapping solutions for reducing boilerplate in Swift's Codable implementation, though CodableKit focuses specifically on default values while swift-codable-macro emphasizes customizable conformance generation.
About CodableKit
WendellXY/CodableKit
A Swift macro package designed to simplify the use of Swift's Codable protocol by allowing easy integration of default values, reducing the amount of auxiliary code you need to write.
Uses SwiftSyntax-based macros to generate `init(from:)` and `encode(to:)` implementations with support for nested key-paths, lossy array decoding, raw-string transcoding, and explicit lifecycle hooks (`@CodableHook`). Targets Swift 6.0+ and integrates transformers and `JSONValue` for dynamic payload handling, surfacing configuration errors at compile time rather than runtime.
About swift-codable-macro
Star-Lord-PHB/swift-codable-macro
Macros for automatically generating customizable conformance to `Codable` protocol.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work