Created
May 6, 2020 17:54
-
-
Save Pavneet-Sing/fca879119d518e00397262e8a8172440 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
//JsonProperty to allow Jackson to use setters and getters | |
data class Person( | |
@JsonProperty("name") val name: String, | |
@JsonProperty("occupation") val occupation: String | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment