- Saved searches
- Use saved searches to filter your results more quickly
- License
- joelittlejohn/jsonschema2pojo
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Saved searches
- Use saved searches to filter your results more quickly
- License
- robohorse/RoboPOJOGenerator
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Saved searches
- Use saved searches to filter your results more quickly
- License
- t28hub/json2java4idea
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
License
joelittlejohn/jsonschema2pojo
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Signed-off-by: Michael Edgar
Git stats
Files
Failed to load latest commit information.
README.md
jsonschema2pojo generates Java types from JSON Schema (or example JSON) and can annotate those types for data-binding with Jackson 2.x or Gson.
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.jsonschema2pojogroupId> artifactId>jsonschema2pojo-maven-pluginartifactId> version>1.2.1version> configuration> sourceDirectory>$/src/main/resources/schemasourceDirectory> targetPackage>com.example.typestargetPackage> configuration> executions> execution> goals> goal>generategoal> goals> execution> executions> plugin>
A very simple Gradle example:
plugins < id "java" id "org.jsonschema2pojo" version "1.2.1" > repositories < mavenCentral() >dependencies < implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.2' > jsonSchema2Pojo < targetPackage = 'com.example' >
- 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.
About
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
IntelliJ IDEA/Android studio plugin: Json to Java, Java records and Kotlin POJO (GSON, Logan Square, Jackson, FastJSON, AutoValue, Moshi, Lombok)
License
robohorse/RoboPOJOGenerator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Add missing required 'maven-publish' plugin for jitpack build.
Git stats
Files
Failed to load latest commit information.
README.md
Intellij Idea and Android Studio plugin for JSON to POJO transformation.
Generates Java, Java Records and Kotlin POJO files from JSON: GSON, FastJSON, AutoValue (GSON), Logan Square, Jackson, Lombok, empty annotations template. Supports: primitive types, multiple inner JSONArrays.
Keywords: JsonToPojo, Json2Pojo, Kotlin, GSON, FastJSON, AutoValue, Jackson, LoganSquare, Moshi, Parcelable, Lombok, Java records.
get it and install from plugin repository or simply find it in Preferences -> Plugins -> Marketplace -> RoboPOJOGenerator
Select target package -> new -> Generate POJO from JSON
put JSON into window and select target POJO type
Copyright 2016 Vadim Shchenev, and licensed under the MIT license. No attribution is necessary but it’s very much appreciated. Star this project if you like it.
About
IntelliJ IDEA/Android studio plugin: Json to Java, Java records and Kotlin POJO (GSON, Logan Square, Jackson, FastJSON, AutoValue, Moshi, Lombok)
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
t28hub / json2java4idea Public archive
A JSON to Java conversion plugin for Intellij IDEA and AndroidStudio.
License
t28hub/json2java4idea
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Json2Java4Idea is a plugin which generates Java class from JSON.
There are several JSON Serializing and deserializing library something like Jackson or Gson.
However implementing a class which is converted from JSON is a bored stuff.
Json2Java4Idea could be a solution for the stuff.
The plugin generates immutable Java class from JSON and supports following libraries.
- Open the Settings/Preferences dialog.
- In the left pane, select Plugins.
- In the right pane, click the Browse repositories. button.
- In the dialog which opens, enter Json2Java4Idea into the search box.
- In the right pane, click the Install button.
- After installation, restart your IDE.
- Open the Settings/Preferences dialog.
- In the left pane, select Other Settings.
- In the right pane, click the Json2Java4Idea link.
- After configuration changing finished, click the Apply button.
Currently there are 3 types of settings you can configure.
- Class style
- Prefix of class name
- Suffix of class name
- Whether insert @Generated annotation
- Whether insert @SuppressWarnings annotation
Please raise an issue on this repository.
Copyright (c) 2017 Tatsuya Maki Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
About
A JSON to Java conversion plugin for Intellij IDEA and AndroidStudio.