# RoboPOJOGenerator [](https://android-arsenal.com/details/1/4429)
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 installJust get it and install from the official plugin repository or simply find it in Preferences -> Plugins -> Marketplace -> RoboPOJOGenerator

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](cli/README.md) - **Java/Kotlin library** (call `GeneratorFacade` directly): [generator/README.md](generator/README.md) # Changelog You can find it [here](https://github.com/robohorse/RoboPOJOGenerator/blob/master/CHANGELOG.md). # AboutCopyright 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.