# Install jsonschema2pojo with Homebrew

Generates Java types from JSON Schema (or example JSON). Version 1.3.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:jsonschema2pojo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jsonschema2pojo
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:jsonschema2pojo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jsonschema2pojo>
- **Version:** 1.3.3
- **Source summary:** Generates Java types from JSON Schema (or example JSON)
- **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>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- jsonschema2pojo (cli)
- jsonschema2pojo (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.3.3
- Local data: ok
- Upstream repository: https://github.com/joelittlejohn/jsonschema2pojo
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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`.

### Why package nerds care

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.

### Timeline

- 2010-12-10: Initial imported commit included core, CLI, and Maven modules.
- 2012: Official site copyright line covers Joe Littlejohn and the online generator era.
- 2013-06-22: GitHub repository created.
- 2026-02-08: 1.3.3 release published.

### Related projects

- jsonschema2pojo is related to JSON Schema itself, JavaBeans-style POJOs, Jackson, Gson, Moshi, JSON-B, Maven, Gradle, and Java code-generation workflows.

### Sources

- <https://api.github.com/repos/joelittlejohn/jsonschema2pojo>
- <https://formulae.brew.sh/formula/jsonschema2pojo>
- <https://github.com/joelittlejohn/jsonschema2pojo>
- <https://github.com/joelittlejohn/jsonschema2pojo/commit/2b2b9cf5bf06fc73e443c54f5bfb163206788931>
- <https://github.com/joelittlejohn/jsonschema2pojo/releases/tag/jsonschema2pojo-1.3.3>
- <https://github.com/joelittlejohn/jsonschema2pojo/wiki/Getting-Started>
- <https://github.com/joelittlejohn/jsonschema2pojo/wiki/Reference>
- <https://www.jsonschema2pojo.org/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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:** stable


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [quicktype](https://www.automicvault.com/pkg/brew/quicktype/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, json, json-schema.
- [gotests](https://www.automicvault.com/pkg/brew/gotests/) - Shares av.db curated category or tags: cli, code-generation, code-generator, developer-tools.
- [json2ts](https://www.automicvault.com/pkg/brew/json2ts/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, json-schema.
- [plank](https://www.automicvault.com/pkg/brew/plank/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, json-schema.
- [quex](https://www.automicvault.com/pkg/brew/quex/) - Shares av.db curated category or tags: cli, code-generation, code-generator, developer-tools.
- [swift-protobuf](https://www.automicvault.com/pkg/brew/swift-protobuf/) - Shares av.db curated category or tags: cli, code-generation, code-generator, developer-tools.
- [thriftgo](https://www.automicvault.com/pkg/brew/thriftgo/) - Shares av.db curated category or tags: cli, code-generation, code-generator, developer-tools.
- [autogen](https://www.automicvault.com/pkg/brew/autogen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [ts-json-schema-generator](https://www.automicvault.com/pkg/npm/ts-json-schema-generator/) - Both packages work with overlapping file formats or content types. Shared terms: cli, code, code-generation, developer, developer-tools.
- [typescript-json-schema](https://www.automicvault.com/pkg/npm/typescript-json-schema/) - Both packages work with overlapping file formats or content types. Shared terms: cli, code, code-generation, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/jsonschema2pojo.yml](https://github.com/automic-vault/db/blob/main/combined/jsonschema2pojo.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
