Created
January 23, 2019 02:33
-
-
Save weverb2/4beb1ae418e64dd18d845ead9ec44946 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
@JsonClass(generateAdapter = true) | |
data class Post( | |
@Json(name = "userId") val userId: Int, | |
@Json(name = "id") val id: Int, | |
@Json(name = "title") val title: String, | |
@Json(name = "body") val body: String | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment