Flight-School/AnyCodable
Type-erased wrappers for Encodable, Decodable, and Codable values observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
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: 3054
- days_rel: n/a
- days_push: 757
- n_releases_24m: 0
Adoption not part of the score
1332 stars · 151 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Swift library providing type-erased wrappers (AnyEncodable, AnyDecodable, AnyCodable) for encoding and decoding heterogeneous values with Swift's Codable system. It enables working with dynamic JSON-like structures where value types are not known at compile time.
Use cases
- encode a dictionary with mixed value types to JSON in Swift
- decode arbitrary JSON without defining concrete Codable structs
- handle dynamic JSON payloads with unknown schema
- store heterogeneous values in a Codable container
- pass mixed-type data through Swift Codable APIs
When to choose
- you need to encode or decode JSON with dynamic or unknown structure in Swift
- you want a small, MIT-licensed, dependency-free Codable helper
- you're building Swift server-side or iOS apps that consume loosely-typed APIs
When to avoid
- you have well-defined schemas and can model responses with concrete Codable types
- you need advanced JSON path queries or manipulation rather than simple encode/decode
- you're not working in Swift or with the Codable ecosystem
Facets
library · maturity stable
serialization developer-tools backend apis cross-platform codable type-erasure swift-package-manager cocoapods carthage swift ios macos
1 source
- readme: https://github.com/Flight-School/AnyCodable · fetched 2026-08-28 · 667c3ff54bb8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Flight-School/AnyCodable | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="Flight-School/AnyCodable")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem