jsonschema2pojo-gradle-plugin

Generate DTO style Java classes from JSON Schema documents (FORK)

Лицензия

Лицензия

Категории

Категории

Gradle Компиляция и сборка JSON Данные
Группа

Группа

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

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

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

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

0.4.23-fork.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

jsonschema2pojo-gradle-plugin
Generate DTO style Java classes from JSON Schema documents (FORK)
Ссылка на сайт

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

https://github.com/joelittlejohn/jsonschema2pojo

Скачать jsonschema2pojo-gradle-plugin

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.github.samskiter.jsonschema2pojo : jsonschema2pojo-core jar 0.4.23-fork.3
com.google.code.findbugs : annotations jar 1.3.9

provided (5)

Идентификатор библиотеки Тип Версия
org.codehaus.groovy : groovy-all jar 1.8.6
org.gradle » gradle-core jar 1.6
org.gradle » gradle-base-services jar 1.6
org.gradle » gradle-base-services-groovy jar 1.6
org.gradle : gradle-tooling-api jar 1.6

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

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

Данный проект не имеет модулей.

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 1.x, 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>0.4.22</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.

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

Версия
0.4.23-fork.3
0.4.23-fork.2
0.4.23-fork.1