lyft/mapper
A JSON deserialization library for Swift 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: 3968
- days_rel: n/a
- days_push: 839
- n_releases_24m: 0
Adoption not part of the score
1164 stars · 88 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Mapper is a Swift library for deserializing JSON into strongly typed Swift objects via a Mappable protocol. It supports immutable properties, optional fields, nested objects, enums, and custom transformations.
Use cases
- deserialize json api responses into swift structs
- map json to model objects in ios app
- parse json with immutable properties in swift
- convert nested json into typed swift objects
- handle optional json fields in swift models
- custom json field transformations in swift
When to choose
- you want simple, lightweight json-to-model mapping in Swift
- you need immutable model properties after deserialization
- you prefer protocol-based mapping over key-path codables
When to avoid
- you can rely on Swift's built-in Codable instead
- you need serialization back to JSON, not just deserialization
- your project is not Swift/iOS
Facets
library · maturity maintenance
serialization parser developer-tools mobile-development apis json-deserialization swift model-mapping immutable-models cocoapods carthage ios mobile
1 source
- readme: https://github.com/lyft/mapper · fetched 2026-08-28 · 82cf7cf6ea0a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lyft/mapper | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem