Created
February 17, 2021 03:27
-
-
Save jobinlawrance/74543aeba6ac243b79f3c4d321ec3752 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
// Third party data class that can't be changed | |
data class Timestamp(val date: Date) | |
@Serializable | |
@SerialName("Timestamp") | |
private class TimestampSurrogate(val timeInMillis: Long) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment