jsonschema2pojo

Generate DTO style Java classes from JSON Schema documents

Лицензия

Лицензия

Категории

Категории

JSON Данные
Группа

Группа

com.github.blindpirate
Идентификатор

Идентификатор

jsonschema2pojo
Последняя версия

Последняя версия

1.1.0.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

jsonschema2pojo
Generate DTO style Java classes from JSON Schema documents
Ссылка на сайт

Ссылка на сайт

https://github.com/joelittlejohn/jsonschema2pojo
Система контроля версий

Система контроля версий

https://github.com/joelittlejohn/jsonschema2pojo

Скачать jsonschema2pojo

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.blindpirate/jsonschema2pojo/ -->
<dependency>
    <groupId>com.github.blindpirate</groupId>
    <artifactId>jsonschema2pojo</artifactId>
    <version>1.1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.blindpirate/jsonschema2pojo/
implementation 'com.github.blindpirate:jsonschema2pojo:1.1.0.4'
// https://jarcasting.com/artifacts/com.github.blindpirate/jsonschema2pojo/
implementation ("com.github.blindpirate:jsonschema2pojo:1.1.0.4")
'com.github.blindpirate:jsonschema2pojo:jar:1.1.0.4'
<dependency org="com.github.blindpirate" name="jsonschema2pojo" rev="1.1.0.4">
  <artifact name="jsonschema2pojo" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.blindpirate', module='jsonschema2pojo', version='1.1.0.4')
)
libraryDependencies += "com.github.blindpirate" % "jsonschema2pojo" % "1.1.0.4"
[com.github.blindpirate/jsonschema2pojo "1.1.0.4"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.google.code.findbugs : annotations jar 1.3.9

Модули Проекта

  • jsonschema2pojo-ant
  • jsonschema2pojo-cli
  • jsonschema2pojo-core
  • jsonschema2pojo-gradle-plugin
  • jsonschema2pojo-integration-tests
  • jsonschema2pojo-maven-plugin

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 or Gson.

Try jsonschema2pojo online
or brew install jsonschema2pojo

You can use jsonschema2pojo as a Maven plugin, an Ant task, 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.1.1</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>

Useful pages:

Project resources:

Licensed under the Apache License, Version 2.0.

YourKit

Special thanks to YourKit, who support this project through a free license for their full-featured YourKit Java Profiler.

Версии библиотеки

Версия
1.1.0.4
1.1.0.3
1.1.0.2