Created
October 22, 2020 08:10
-
-
Save droid-lover/714318217ec750a3c1472d2c680a2aff 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
package com.vs.kotlinserialization | |
import kotlinx.serialization.Serializable | |
//we need to add this annotation | |
@Serializable | |
data class Fruit (val name:String) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment