ObjectMapper
Simple JSON Object mapping written in Swift 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4339
- days_rel: n/a
- days_push: 853
- n_releases_24m: 0
Adoption not part of the score
9137 stars · 1025 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ObjectMapper is a Swift framework that converts model objects (classes and structs) to and from JSON using the Mappable protocol and the <- operator. AlamofireObjectMapper extends it with Alamofire response serialization for mapping API responses directly to objects.
Use cases
- map json to swift model objects
- serialize swift structs to json
- parse api responses into models
- handle nested json objects in swift
- apply custom transformations during json mapping
- deserialize json strings into classes
When to choose
- you need bidirectional JSON mapping for Swift classes and structs
- you use Alamofire and want automatic response-to-model mapping
- you need nested object, array, and dictionary mapping with custom transforms
When to avoid
- you can use Swift's built-in Codable protocol instead
- you need XML or formats other than JSON
- you want a library under heavy active development
Facets
library · maturity maintenance
serialization parser developer-tools mobile-development apis json-mapping swift model-mapping alamofire mappable ios macos
1 source
- readme: https://github.com/tristanhimmelman/ObjectMapper · fetched 2026-08-28 · 6d51166b5064
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tristanhimmelman/ObjectMapper | main | 23 |
| tristanhimmelman/AlamofireObjectMapper | plugin | 23 |
For agents
markdown · JSON · MCP: product_card(name="tristanhimmelman/ObjectMapper")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem