joelittlejohn/jsonschema2pojo
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 80
- Release rhythm 69
- Longevity 100
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: 3.5
- age_days: 4820
- days_rel: 206
- days_push: 124
- n_releases_24m: 5
Adoption not part of the score
6381 stars · 1678 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
jsonschema2pojo generates Java types (POJOs) from JSON Schema or example JSON documents, annotating them for data-binding with Jackson 2.x/3.x, Gson, Moshi, or JSON-B. It can be used as a Maven plugin, Gradle plugin, command-line tool, Ant task, or embedded Java API.
Use cases
- generate java pojos from json schema
- generate java classes from example json
- add jackson annotations to generated java types
- generate gson-annotated model classes
- integrate schema-based code generation into maven build
- generate java types from yaml schema
- generate validation-annotated java beans
When to choose
- you need Java model classes matching a JSON Schema for data binding
- you want build-time code generation via Maven or Gradle plugins
- you need configurable annotation styles (Jackson, Gson, Moshi, JSON-B) and options like builders, primitives, or validation annotations
When to avoid
- you work in a non-JVM language
- you need runtime schema-to-object mapping rather than compile-time generated classes
- you need code generation for languages other than Java
Facets
library · maturity active
serialization cli plugin-system developer-tools apis jvm cli cross-platform json-schema pojo-generation jackson gson maven-plugin gradle-plugin code-generation json java
2 sources
- readme: https://github.com/joelittlejohn/jsonschema2pojo · fetched 2026-08-28 · f609b67b3262
- homepage: http://www.jsonschema2pojo.org · fetched 2026-08-29 · 6b634ed28ac8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| joelittlejohn/jsonschema2pojo | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="joelittlejohn/jsonschema2pojo")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem