class Base64UrlAdapter
We must use this adapter for correct JSON serialization and deserialization. This is because the Base64UrlString is a wrapper around a String, so we would get an object in JSON after serializing.
<init> |
We must use this adapter for correct JSON serialization and deserialization. This is because the Base64UrlString is a wrapper around a String, so we would get an object in JSON after serializing. Base64UrlAdapter() |
fromJson |
fun fromJson(json: String): Base64UrlString |
toJson |
fun toJson(string: Base64UrlString): String |