encodeNullableSerializableValue

open fun <T : Any> encodeNullableSerializableValue(serializer: SerializationStrategy<T>, value: T?)

Encodes the nullable value of type T by delegating the encoding process to the given serializer.