Skip to content

IntelliJ IDEA/Android studio plugin: Json to Java, Java records and Kotlin POJO (GSON, Logan Square, Jackson, FastJSON, AutoValue, Moshi, Lombok)

License

Notifications You must be signed in to change notification settings

frowhy/POJOGenerator

 
 

Repository files navigation

POJOGenerator

Intellij Idea and Android Studio plugin for JSON to POJO transformation.

Generates Java, Java Records and Kotlin POJO files from JSON: GSON, FastJSON, AutoValue (GSON), Logan Square, Jackson, Lombok, empty annotations template. Supports: primitive types, multiple inner JSONArrays.

Keywords: JsonToPojo, Json2Pojo, Kotlin, GSON, FastJSON, AutoValue, Jackson, LoganSquare, Moshi, Parcelable, Lombok, Java records.

Download

get it and install from plugin repository or simply find it in Preferences -> Plugins -> Marketplace -> POJOGenerator

How to use

Select target package -> new -> Generate POJO from JSON

put JSON into window and select target POJO type

see log of changes

Changelog

Please find it here.

About

Copyright 2016 Vadim Shchenev, and licensed under the MIT license. No attribution is necessary but it's very much appreciated. Star this project if you like it.

About

IntelliJ IDEA/Android studio plugin: Json to Java, Java records and Kotlin POJO (GSON, Logan Square, Jackson, FastJSON, AutoValue, Moshi, Lombok)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%