jsonschema2pojo
« Back to VersTracker
Description:
Generates Java types from JSON Schema (or example JSON)
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: java json code-generation schema development
Install: brew install jsonschema2pojo
About:
Jsonschema2pojo is a tool that generates Java types from JSON Schema specifications or sample JSON data. It creates POJOs (Plain Old Java Objects) with annotations for popular libraries like Jackson and Gson. This streamlines data binding and reduces boilerplate code when working with JSON in Java applications.
Key Features:
  • Supports JSON Schema v3 and v4
  • Generates POJOs with Jackson, Gson, or Moshi annotations
  • Customizable code generation via Maven, Gradle, or Ant
  • Supports Javadoc generation from schema descriptions
Use Cases:
  • Generating Java model classes for REST API clients
  • Creating data transfer objects (DTOs) from JSON specifications
  • Rapid prototyping of Java applications with JSON backends
Alternatives:
  • jsonschema2pojo – This is the same tool; no direct alternatives in Homebrew core
Version History
Detected Version Rev Change Commit
Nov 10, 2024 4:33pm 0 VERSION_BUMP 1e1b6619
Sep 22, 2024 6:38pm 0 VERSION_BUMP c9178de6
Sep 22, 2024 12:17pm 0 VERSION_BUMP 7e8a93e1