You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-30Lines changed: 37 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,35 +20,42 @@ also as say a plugin for Kotlin to convert JSON String into Kotlin data class co
20
20
### Overview
21
21
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 shortcut key `ALT` + `K` for Windows or `Option` + `K` for Mac,And then,start your Kotlin program travel ! JsonToKotlinClass make program more happy!
* Press shortcut key `ALT` + `K` for Windows or `Option` + `K` for Mac And Then you will know how to use
40
+
23
41
### Features
24
42
* Generate Kotlin data class from any legal JSON text.
25
-
* Support JSON Serialize Lib Annotation(Gson,Jackson,Fastjson,MoShi and LoganSquare)
43
+
* Generate Kotlin data class File form any legal JSON text when right click on directory and select `New` -> `Kotlin data class File from JSON`.
44
+
* Support JSON Serialize Lib Annotation(Gson,Jackson,Fastjson,MoShi and LoganSquare,kotlinx.serialize(default custom value))
26
45
* Support customize your own Annotation
27
46
* Support init property with default value
28
47
* Support make property type to be nullable(?)
48
+
* Support auto make sure property type to be nullable(?) or not
29
49
* Support auto rename property name to be camelCase when select a target JSON lib Annotation.[See demo](#configure-with-gson-support-on-and-init-with-deault-value-on-and-comment-off)
30
50
* Support generate kotlin data class code in split model
31
51
* Support generate kotlin data class code in inner class model
52
+
* Support generate kotlin data class File in inner class model
53
+
* Support generate kotlin data class File in split files
32
54
* Support format any legal JSON string
55
+
* Support Generate Map Type
33
56
34
-
### How to use
35
-
* Search 'JsonToKotlinClass' in Intellij Idea Plugin Repositroy Or AndroidStudio Plugin Repository And Install it.</br>
0 commit comments