Compatible with: IntelliJ IDEA Android Studio
May 14, 2018
29 396
Allows for easy creation of Java POJOs from JSON, with GSON annotations and accessors. Once installed, just right-click on the destination package and choose "New -> Generate POJOs from JSON", then enter in your root class name and source JSON text.

Source code available on GitHub.

Download plugin

Recent change notes

1.1.0 - Lowercase the first letter of field names when they do not have the 'm' prefix.

General usage instructions

Install the plugin in IntelliJ / Android Studio by opening Preferences -> Plugins -> Search for "Json2Pojo". Right-click on the target package, select New -> "Generate POJOs from JSON". Enter the root class name and enter your source JSON text. The plugin will generate your new classes in the target directory for easy deserialization with GSON.