GitHub Hot Board

GitHub Hot Board · Arquivo do repositório

joelittlejohn/jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc (Esta descrição vem do próprio repositório.)

Dados de October 26joelittlejohn

Melhor colocação

#454

Histórico · Java por idioma

6.4K

Total de estrelas

1.7K

Total de forks

0

Dias nos rankings (30 d)

Estado do projetoLicença: Apache-2.0Último push: May 2Issues abertos (PR incl.): 252

Coletado desde 2026-10-25; desconhecido = ainda não coletado

Coloque o emblema no seu README · joelittlejohn/jsonschema2pojo[![Coloque o emblema no seu README](https://git.vaiox.xyz/api/badge/joelittlejohn/jsonschema2pojo.svg)](https://git.vaiox.xyz/pt/repo/joelittlejohn/jsonschema2pojo)
<a href="https://git.vaiox.xyz/pt/repo/joelittlejohn/jsonschema2pojo"><img src="https://git.vaiox.xyz/api/badge/joelittlejohn/jsonschema2pojo.svg" alt="Coloque o emblema no seu README" height="20"></a>

Documentação do projeto

jsonschema2pojo Build Status Maven Central

jsonschema2pojo generates Java types from JSON Schema (or example JSON) and can annotate those types for data-binding with Jackson 2.x, Jackson 3.x, or Gson.

Try jsonschema2pojo online
or brew install jsonschema2pojo

You can use jsonschema2pojo as a Maven plugin, a command line utility, a Gradle plugin or embedded within your own Java app. The Getting Started guide will show you how.

A very simple Maven example:

<plugin>
    <groupId>org.jsonschema2pojo</groupId>
    <artifactId>jsonschema2pojo-maven-plugin</artifactId>
    <version>1.3.3</version>
    <configuration>
        <sourceDirectory>${basedir}/src/main/resources/schema</sourceDirectory>
        <targetPackage>com.example.types</targetPackage>
    </configuration>
    <executions>
        <execution>
            <goals>
                <goal>generate</goal>
            </goals>
        </execution>
    </executions>
</plugin>

A very simple Gradle example:

plugins {
  id "java"
  id "org.jsonschema2pojo" version "1.3.3"
}

repositories {
  mavenCentral()
}

jsonSchema2Pojo {
  targetPackage = 'com.example'
}

Useful pages:

Project resources:

Special thanks:

  • unkish
  • Thach Hoang
  • Dan Cruver
  • Ben Manes
  • Sam Duke
  • Duane Zamrok
  • Christian Trimble
  • YourKit, who support this project through a free license for the YourKit Java Profiler.

Licensed under the Apache License, Version 2.0.

Colocações atuais

Evolução em 30 dias

Sem registros nos últimos 30 dias.

Projetos similares · temas compartilhados

← Voltar aos rankings