JohnSundell/Codextended
Extensions giving Swift's Codable API type inference super powers 🦸♂️🦹♀️ observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2706
- days_rel: n/a
- days_push: 1970
- n_releases_24m: 0
Adoption not part of the score
1510 stars · 86 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Codextended is a lightweight Swift library of extensions that augments the built-in Codable API with type inference-powered conveniences. It reduces boilerplate for encoding and decoding values, such as one-liner encode/decode calls and easy key-level customization.
Use cases
- decode into swift types with less boilerplate
- encode swift structs to in one line
- provide default values for missing keys when decoding
- transform values during decoding
- simplify custom codable implementations
- avoid verbose JSONEncoder/JSONDecoder setup
When to choose
- you use Swift's Codable and want terser, type-inferred encode/decode calls
- you need lightweight key-level customization without a full serialization framework
- you want a zero-dependency extension layer over Codable on macOS or Linux
When to avoid
- you need serialization formats beyond what Codable supports
- you want a full-featured JSON mapping framework with heavy customization
- you need a library with frequent updates and active maintenance
Facets
library · maturity maintenance
serialization parser developer-tools programming-languages apis codable -parsing type-inference swift-package-manager extensions macos linux swift
1 source
- readme: https://github.com/JohnSundell/Codextended · fetched 2026-08-28 · 356709a91b15
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| JohnSundell/Codextended | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="JohnSundell/Codextended")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem