macOS
brew install jsonschema2pojolocal Homebrew formula metadata
brew
Generates Java types from JSON Schema (or example JSON). Version 1.3.3 via Homebrew; verified from local package data.
install
brew install jsonschema2pojolocal Homebrew formula metadata
overview
Generates Java types from JSON Schema (or example JSON)
history
jsonschema2pojo generates Java types from JSON Schema or example JSON, with optional data-binding annotations for Jackson, Gson, Moshi, and JSON-B. It is both an online generator and a build-time/code-generation tool for Java projects.
The repository history reaches back to a 2010-12-10 commit titled "initial import of jsonschema2pojo core, cli, maven", showing that the core library, command-line interface, and Maven integration were present from the first imported revision. The GitHub repository used for development was created on 2013-06-22.
The project expanded around multiple ways to consume the generator. The README and wiki document Maven plugin usage, command-line usage, Gradle plugin usage, and embedded Java API usage. The official website also exposes an interactive generator that previews or zips generated POJOs from schemas or example documents.
The reference documentation tracks JSON Schema feature support by jsonschema2pojo version, with core structural rules such as simple `type`, `properties`, `items`, `enum`, `description`, and `format` marked as supported since 0.1.0.
jsonschema2pojo became a familiar Java ecosystem bridge because it fits Maven and Gradle builds as well as ad hoc CLI generation. The README documents `brew install jsonschema2pojo`, plugin snippets, project downloads, a mailing list, and generated-code examples, making it approachable from package managers and Java build tools.
Typical use is to point the Maven or Gradle plugin at schema files and generate Java sources during the build, run the `jsonschema2pojo` CLI with a source and target directory, use the web generator interactively, or embed `jsonschema2pojo-core` in Java code through `SchemaMapper`.
jsonschema2pojo matters because it packages schema-to-code generation in the style Java developers expect: Maven coordinates, Gradle plugin, CLI, downloadable releases, and Homebrew formula. It is a concrete example of JSON Schema leaving documentation and validation roles to become source-generation input.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jsonschema2pojo | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/joelittlejohn/jsonschema2pojo
install metadata
| Package key | brew:jsonschema2pojo |
|---|---|
| Version | 1.3.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jsonschema2pojo |
| Homepage | https://www.jsonschema2pojo.org/ |
| Repository | https://github.com/joelittlejohn/jsonschema2pojo |
| Upstream docs | https://www.jsonschema2pojo.org/ |
| License | Apache-2.0 |
| Source archive | https://github.com/joelittlejohn/jsonschema2pojo/releases/download/jsonschema2pojo-1.3.3/jsonschema2pojo-1.3.3.tar.gz |
| Dependencies | openjdk |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jsonschema2pojo |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.