jsonschema2pojo-jdk-annotation

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Categories

Categories

Java Languages JSON Data
GroupId

GroupId

org.jsonschema2pojo
ArtifactId

ArtifactId

jsonschema2pojo-jdk-annotation
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

jsonschema2pojo-jdk-annotation
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Source Code Management

Source Code Management

https://github.com/joelittlejohn/jsonschema2pojo

Download jsonschema2pojo-jdk-annotation

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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.0</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.

Versions

Version
0.0.1