RoboPOJOGenerator
IntelliJ IDEA and Android Studio plugin.
Generates Kotlin and Java data transfer objects from JSON payload. Just insert your JSON payload and select target serialisation framework.
Keywords: JsonToPojo, Json2Pojo, Kotlin, GSON, FastJSON, AutoValue, Jackson, LoganSquare, Moshi, Parcelable, Lombok, Jakarta JSON Binding, Java records, KotlinX.
How to install
Just get it and install from the official plugin repository or simply find it in Preferences -> Plugins -> Marketplace -> RoboPOJOGenerator

How to use
1. Select a target package -> New -> Generate POJO from JSON

2. Put JSON payload into the window and select target serialisation framework.

3. See generated files inside the selected package!
CLI & Library Usage
Use RoboPOJOGenerator without IntelliJ — as a library dependency or standalone CLI.
- CLI (raw JSON in, generated files out): cli/README.md
- Java/Kotlin library (call
GeneratorFacadedirectly): generator/README.md
Changelog
You can find it here.
About
Copyright 2016 Vadim Shchenev, and licensed under the MIT licence.
No attribution is necessary, but it's very much appreciated.
Put a star on this project if you like it.
