All Projects → joelittlejohn → Jsonschema2pojo

joelittlejohn / Jsonschema2pojo

Licence: other
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects
groovy
2714 projects

Projects that are alternatives of or similar to Jsonschema2pojo

Typescript Generator
Generates TypeScript from Java - JSON declarations, REST service client
Stars: ✭ 729 (-87.06%)
Mutual labels:  gradle-plugin, maven-plugin, json, jackson
Dependencycheck
OWASP dependency-check is a software composition analysis utility that detects publicly disclosed vulnerabilities in application dependencies.
Stars: ✭ 3,571 (-36.61%)
Mutual labels:  gradle-plugin, maven-plugin, ant-task
Json Schema Validator
A fast Java JSON schema validator that supports draft V4, V6, V7 and V2019-09
Stars: ✭ 292 (-94.82%)
Mutual labels:  json-schema, json, jackson
Easyjson
Provides an unified JSON access API, you can adapter any JSON library to Gson, Jackson, FastJson with easyjson。 提供了一个JSON门面库,就像slf4j一样。easyjson本身不做json的操作,完全依赖于底层实现库。可以直接使用Easyjson的API,底层的JSON库随时可切换。也可以使用其中某个json的API,然后通过easyjson适配给其他的json库
Stars: ✭ 54 (-99.04%)
Mutual labels:  json, jackson, gson
Immutables
Annotation processor to create immutable objects and builders. Feels like Guava's immutable collections but for regular value objects. JSON, Jackson, Gson, JAX-RS integrations included
Stars: ✭ 3,031 (-46.19%)
Mutual labels:  jackson, gson
Json Schema To Ts
Infer TS types from JSON schemas 📝
Stars: ✭ 261 (-95.37%)
Mutual labels:  json-schema, json
Javapackager
📦 Gradle/Maven plugin to package Java applications as native Windows, Mac OS X, or GNU/Linux executables and create installers for them.
Stars: ✭ 285 (-94.94%)
Mutual labels:  gradle-plugin, maven-plugin
Json
C++ header-only JSON library
Stars: ✭ 343 (-93.91%)
Mutual labels:  json-schema, json
poetimizely
Generate Kotlin type safe accessors for Optimizely experiments and features
Stars: ✭ 17 (-99.7%)
Mutual labels:  maven-plugin, gradle-plugin
Jsonista
Clojure library for fast JSON encoding and decoding.
Stars: ✭ 290 (-94.85%)
Mutual labels:  json, jackson
Jslt
JSON query and transformation language
Stars: ✭ 367 (-93.48%)
Mutual labels:  json, jackson
Jackson Databind
General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)
Stars: ✭ 2,959 (-47.47%)
Mutual labels:  json, jackson
Bnd
Bnd/Bndtools. Tooling to build OSGi bundles including Eclipse, Maven, and Gradle plugins.
Stars: ✭ 446 (-92.08%)
Mutual labels:  gradle-plugin, maven-plugin
json-schema-inferrer
Java library for inferring JSON schema from sample JSONs
Stars: ✭ 78 (-98.62%)
Mutual labels:  json-schema, jackson
Jsonformat4flutter
受zzz40500/GsonFormat启发,将JSONObject格式的String解析成dart语言的实体类
Stars: ✭ 411 (-92.7%)
Mutual labels:  json, gson
Plank
A tool for generating immutable model objects
Stars: ✭ 449 (-92.03%)
Mutual labels:  json-schema, json
Pyjfuzz
PyJFuzz - Python JSON Fuzzer
Stars: ✭ 342 (-93.93%)
Mutual labels:  json-schema, json
Json Forms
JSON Schema to HTML form generator, supporting dynamic subschemas (on the fly resolution). Extensible and customizable library with zero dependencies. Bootstrap add-ons provided
Stars: ✭ 549 (-90.25%)
Mutual labels:  json-schema, json
jsonschema-generator
Java JSON Schema Generator – creating JSON Schema (Draft 6, Draft 7, Draft 2019-09, or Draft 2020-12) from Java classes
Stars: ✭ 213 (-96.22%)
Mutual labels:  json-schema, jackson
SerializedNameGen
Auto add or remove json annotation plugin, such as gson SerializedName, fastjson JSONField, jackson JsonProperty. It also support java and kotlin file.
Stars: ✭ 19 (-99.66%)
Mutual labels:  gson, jackson

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].