Automic VaultAutomic Vault

brew

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

Additional install commands

macOS

Homebrewverified · 100%
brew install jsonschema2pojo

local Homebrew formula metadata

overview

Package summary

Generates Java types from JSON Schema (or example JSON)

Commands and aliases

  • jsonschema2pojo

history

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
jsonschema2pojocliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.3.3
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/joelittlejohn/jsonschema2pojo

install metadata

Package metadata

Package keybrew:jsonschema2pojo
Version1.3.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/jsonschema2pojo
Homepagehttps://www.jsonschema2pojo.org/
Repositoryhttps://github.com/joelittlejohn/jsonschema2pojo
Upstream docshttps://www.jsonschema2pojo.org/
LicenseApache-2.0
Source archivehttps://github.com/joelittlejohn/jsonschema2pojo/releases/download/jsonschema2pojo-1.3.3/jsonschema2pojo-1.3.3.tar.gz
Dependenciesopenjdk
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namejsonschema2pojo
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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