remove "Serializer" annotation at Base64StringSerializer

This commit is contained in:
InsanusMokrassar 2021-01-14 21:22:25 +06:00
parent 9706524572
commit c0523469fa

View File

@ -17,5 +17,4 @@ open class Base64Serializer<T>(
override fun serialize(encoder: Encoder, value: T) = encoder.encodeString(converterFrom(value).encodeBase64String())
}
@Serializer(String::class)
object Base64StringSerializer : Base64Serializer<String>({ it }, { it })