Created
May 6, 2020 21:23
-
-
Save hissain/5f38853e8c20452cc11f26667b67ce73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val gSon = GsonBuilder().registerTypeAdapter(Student::class.java, StudentSerializer()).create() | |
val json = gSon.toJson(student) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment