Generate Kotlin data classes from JSON

Compatible with: IntelliJ IDEA Android Studio
Feb 03, 2018
3 907
Plugin generates Kotlin data classes from JSON text. It can find inner classes in nested JSON. You can disable undesirable fields in class, change field name, set it type to optional, specify default value and add annotations for popular json libraries.


• json highlight and validation
• nested json parsing
• var/val support
• default value support
• generation to single file
• annotations for Gson, Moshi, Jackson

If you like this plugin please rate it or give it a star on GitHub page

If you have any questions or suggestions let me know

Download plugin

Recent change notes

Description fixed

General usage instructions

Right click on package -> Generate class from JSON -> Copy json, type class name -> Check field names and types -> Generate