serializeNonNull

@ExperimentalSerializationApi
fun <D, T : Any> ReadOnlyProperty<D, T?>.serializeNonNull(format: StringFormat, serializer: SerializationStrategy<T>): ReadOnlyProperty<D, String?>(source)
@ExperimentalSerializationApi
fun <D, T : Any> ReadOnlyProperty<D, T?>.serializeNonNull(format: BinaryFormat, serializer: SerializationStrategy<T>): ReadOnlyProperty<D, ByteArray?>(source)
@ExperimentalSerializationApi
inline fun <D, T : Any> ReadOnlyProperty<D, T?>.serializeNonNull(format: StringFormat): ReadOnlyProperty<D, String?>(source)
@ExperimentalSerializationApi
inline fun <D, T : Any> ReadOnlyProperty<D, T?>.serializeNonNull(format: BinaryFormat): ReadOnlyProperty<D, ByteArray?>(source)

Serialize the read value, if it is non-null.


@ExperimentalSerializationApi
fun <D, T : Any> ReadWriteProperty<D, T?>.serializeNonNull(format: StringFormat, serializer: KSerializer<T>): ReadWriteProperty<D, String?>(source)
@ExperimentalSerializationApi
fun <D, T : Any> ReadWriteProperty<D, T?>.serializeNonNull(format: BinaryFormat, serializer: KSerializer<T>): ReadWriteProperty<D, ByteArray?>(source)
@ExperimentalSerializationApi
inline fun <D, T : Any> ReadWriteProperty<D, T?>.serializeNonNull(format: StringFormat): ReadWriteProperty<D, String?>(source)
@ExperimentalSerializationApi
inline fun <D, T : Any> ReadWriteProperty<D, T?>.serializeNonNull(format: BinaryFormat): ReadWriteProperty<D, ByteArray?>(source)

Serialize reads from and deserialize writes to the delegate, if the values are non-null.