macOS
brew install jsonschema2pojolocal Homebrew formula metadata
安装
brew install jsonschema2pojolocal Homebrew formula metadata
概览
Generates Java types from JSON Schema (or example JSON)
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jsonschema2pojo | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/joelittlejohn/jsonschema2pojo
安装元数据
| 软件包键 | brew:jsonschema2pojo |
|---|---|
| 版本 | 1.3.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jsonschema2pojo |
| 主页 | https://www.jsonschema2pojo.org/ |
| 仓库 | https://github.com/joelittlejohn/jsonschema2pojo |
| 上游文档 | https://www.jsonschema2pojo.org/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/joelittlejohn/jsonschema2pojo/releases/download/jsonschema2pojo-1.3.3/jsonschema2pojo-1.3.3.tar.gz |
| 依赖 | openjdk |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.