# CoderMJLee/MJExtension

A fast, convenient and nonintrusive conversion framework between JSON and model. Your model class doesn't need to extend any base class. You don't need to modify any model file.

Repository: https://github.com/CoderMJLee/MJExtension
Canonical: https://ross.abutalabs.com/products/mjextension
Language: Objective-C
License: MIT
License Family: permissive
Topics: objective-c, model, json, dictionary, array
Last push: 2024-03-13T05:26:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4485, "days_push": 903, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8493, forks 2132 (observed 2026-08-28T04:10:23.115002+00:00)

## What it is
MJExtension is a lightweight Objective-C framework for converting between JSON/dictionaries and model objects without requiring models to inherit from a base class or modify model files. It supports JSON-to-model and model-to-JSON conversion, model arrays, Core Data models, one-line Coding/SecureCoding, and key mapping customization.

## Use cases
- convert  responses into objective-c model objects
- serialize models back to  dictionaries
- map  keys to differently named model properties
- convert  arrays into model arrays
- implement nscoding for all model properties with one line of code
- convert between core data models and

## When to choose
- you are building an Objective-C or mixed Objective-C/Swift iOS or macOS app
- you want nonintrusive JSON-model conversion without a base model class
- you need fast dictionary-to-model conversion with key mapping and type conversion features

## When to avoid
- you are building a pure Swift project where Codable is sufficient
- you need cross-platform JSON serialization outside Apple platforms
- you prefer modern Swift-native serialization like Codable or Swift's new Observation-driven approaches

## Facets
- artifact type: library
- maturity: stable
- function: serialization
- domain: developer-tools, apis, mobile-development
- platform: -
- tags: objective-c, -to-model, dictionary-to-model, cocoapods, core-data, nonintrusive, ios, macos, swift

## Member repositories
- CoderMJLee/MJExtension (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:23.115002+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:26:49.554663+00:00, confidence not recorded.
  - readme: https://github.com/CoderMJLee/MJExtension (fetched 2026-08-28T04:10:23.115002+00:00, sha 87ceb41a0a77)
- Data as of 2026-08-30T08:39:29.467469+00:00.
