Awesome Open Source
Awesome Open Source

JSONToKotlinClass

Intellij Idea, Android Studio plugin.

Android Arsenal

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.

Features:

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

Download

You can install it from plugin repository

How to use

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

License

MIT License

Copyright (c) 2017 Mighty16



Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (388,770
Plugin (113,829
Kotlin (46,539
Json (39,414
Annotations (11,003
Intellij (5,399
Gson (1,363
Jackson (1,295
Intellij Plugin (801
Moshi (349
Dataclasses (126
Android Studio Plugin (94
Json To Kotlin (4