<Kotlin Serialization for Generic Objects...?> I h...
# stackoverflow
u
Kotlin Serialization for Generic Objects...? I had the bright idea to implement a generic object and attempt to serialize / deserialize it, and received this error: Serializer for class 'DetailsRequest' is not found. Mark the class as @Serializable or provide the serializer explicitly. I thought the @Serializer annotation would have achieved this... ??? The implementation of the data class, and its custom serializer (which is probably overkill), are as follows: @Serializable(with=DetailsRequestSerializer::class) data class...