# RoboPOJOGenerator [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-RoboPOJOGenerator-green.svg?style=true)](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 install

Just get it and install from the official plugin repository or simply find it in Preferences -> Plugins -> Marketplace -> RoboPOJOGenerator

installation image

# How to use

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

how to start image

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

example image

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). # 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.