Skip to content

robohorse/RoboPOJOGenerator

Repository files navigation

RoboPOJOGenerator

Android Arsenal

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!

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.