Ross ROSS = Recommend OSS · open-source software intelligence for agents

cweiske/jsonmapper

Map nested JSON structures onto PHP classes observed · 2026-08-28

github.com/cweiske/jsonmapper · PHP · OSL-3.0 (other) observed · 2026-08-28

Health v2 · maintenance only

73/100

  • Activity 90
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: 4601
  • days_rel: n/a
  • days_push: 64
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1573 stars · 185 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A PHP library that maps nested JSON structures onto PHP model classes using type declarations and docblock annotations. It converts JSON API responses into typed objects and arrays without requiring schema files or JSON-specific code in your models.

Use cases

  • deserialize JSON API responses into PHP objects
  • hydrate nested JSON data into typed model classes
  • convert JSON web service data to objects with IDE autocompletion
  • map JSON arrays to lists of PHP class instances
  • keep model classes stable when the JSON API changes
  • parse property types from docblocks and type hints automatically

When to choose

  • you want typed PHP objects from JSON without writing mapping code
  • your model classes already have docblock or property type annotations
  • you need a dependency-free deserialization library
  • you want IDE autocompletion and comfort methods on your data models

When to avoid

  • you want model classes auto-generated from a JSON schema
  • you need serialization in the other direction (objects to JSON)
  • you use a framework with built-in JSON mapping (e.g. Symfony serializer)
  • you cannot write model classes by hand

Facets

library · maturity stable

serialization developer-tools web-development apis php -mapper hydration deserialization object-mapping no-dependencies

1 source

Member repositories

RepositoryRoleHealth v2
cweiske/jsonmappermain73

For agents

markdown · JSON · MCP: product_card(name="cweiske/jsonmapper")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem