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.
This package helps Swift developers reliably handle incoming and outgoing JSON data, even when it's poorly structured or changes frequently. It takes your Swift data models and automatically generates the necessary code to convert them to and from JSON, letting you define how to handle missing data or complex nesting. Mobile app developers, backend engineers, or anyone building applications that interact with external APIs will find this useful.
Use this if you are a Swift developer working with JSON data from external sources and need a robust, low-boilerplate way to ensure your app handles it gracefully, even when the data format is inconsistent.
Not ideal if you are not a Swift developer or if your application primarily works with perfectly structured, stable JSON schemas that rarely change.
Stars
52
Forks
8
Language
Swift
License
MIT
Category
Last pushed
Mar 16, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/WendellXY/CodableKit"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
SwiftyLab/MetaCodable
Supercharge Swift's Codable implementations with macros meta-programming.
DanielMSchmidt/objective-c-parser
Get the JSON representation of an Objective-C header file
yonaskolb/SwagGen
OpenAPI/Swagger 3.0 Parser and Swift code generator
Lighter-swift/Lighter
Swift APIs for SQLite: Type-safe down to the schema. Very, very, fast. Dependency free.
andreadelfante/PredicateFlow
Write amazing, strong-typed and easy-to-read NSPredicate.