Intellij Idea, Studio plugin.

Plugin generates Kotlin 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

You can install it from plugin repository

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

-  - The Android Arsenal – IDE Plugins

MIT License

Copyright (c) 017 Mighty16

Source link


Please enter your comment!
Please enter your name here