returnValueSerializer

var returnValueSerializer: KSerializer<T>?

Serializer that would be used to deserialize the returned value, null by default.

If null, the return value will be deserialized using the embedded type serializer. Note that Realm collection types must be set as they don't have an embedded serializer, for example:

CallBuilder<RealmList<String>> {
returnValueSerializer = RealmListKSerializer(String.serializer())
}