IntelliJ IDEA/Android studio plugin: Json to Java and Kotlin POJO (GSON, Logan Square, Jackson, FastJSON, AutoValue, Moshi)
Clone or download
Latest commit 6652c13 May 25, 2018
Permalink
Failed to load latest commit information.
gradle/wrapper jacoco test reports added May 23, 2017
images new images added Sep 8, 2017
src version code increased May 25, 2018
.gitignore gradle support added Sep 26, 2016
.travis.yml Update .travis.yml May 23, 2017
LICENSE Create LICENSE Sep 25, 2016
README.md Update README.md Nov 15, 2017
build.gradle debug disabled May 25, 2018
gradlew project organized Sep 26, 2016
gradlew.bat project organized Sep 26, 2016
settings.gradle project organized Sep 26, 2016

README.md

RoboPOJOGenerator

Android Arsenal Build Status Coverage Status

Intellij Idea, Android Studio plugin for JSON to POJO conversion.

Generate Java and Kotlin POJO files from JSON: GSON, AutoValue, Logan Square, FastJSON, Jackson, Moshi, empty annotations template. Supports: primitive types, multiple inner JSONArrays.

Download

get it and install from plugin repository or simply find it in "Preferences" -> "Plugins" -> "Browse Repositories" -> "RoboPOJOGenerator"

How to use

Select target package -> new -> Generate POJO from JSON

put JSON into window and select target POJO type

see log of changes

People, who help

  • wafer-li - Kotlin support (release 1.7)
  • ccqy66 - toString support (release 1.8.1)

About

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.