SwiftyLab/MetaCodable

Supercharge Swift's Codable implementations with macros meta-programming.

53
/ 100
Established

This project helps Swift developers streamline how their data structures convert to and from formats like JSON or property lists. It takes your Swift data models and, using special annotations, automatically generates the complex code needed to handle data serialization and deserialization. It's designed for Swift app developers who regularly work with external data sources and need efficient, less error-prone ways to map that data to their app's internal structures.

763 stars. Actively maintained with 2 commits in the last 30 days.

Use this if you are a Swift developer tired of writing repetitive boilerplate code for `Codable` implementations to handle tasks like custom key mappings, nested data, or default values.

Not ideal if you are not developing in Swift or if your data serialization needs are extremely simple and already well-handled by Swift's default `Codable` protocol without customization.

Swift-development API-integration data-serialization mobile-app-development backend-data-mapping
No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 14 / 25

How are scores calculated?

Stars

763

Forks

43

Language

Swift

License

MIT

Last pushed

Feb 18, 2026

Commits (30d)

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/SwiftyLab/MetaCodable"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.