JSON To Kotlin Class (JsonToKotlinClass)

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
Mar 12, 2018
16 847
Plugin for Kotlin to convert Json String into Kotlin data class code quickly
kotlin Json Gson Fastjson Moshi LoganSquare

Download plugin

Recent change notes

Fix a stack overflow bug
1.Custom Annotation support multiple annotations on class and multiple annotations on property ,With this function you could add extract annotation on class like `@Parcelize` ,and also you could custom the annotation format to make it support `kotlinx.serializable` ,the default value in custom option is set for `kotlinx.serializable`
How to use `Custom Annotation`?
`ALT`+`K`==>`Settings`==>`Annotation`==>Select `Others by customize`
Ok! You Got It! Have a good travel.

General usage instructions

Hi,This is a very cool tool for Kotlin developers ,It can convert the Json String into Kotlin Data Class code ,and paste it into your editor file ,The tool could recognize the Primitive Type of Json String and make Type Identifier respectively ,It taste easily ,Just have test,guys! Just press short key ALT + K ,And then,start your Kotlin program travel !