serialize

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

Serialize the read value.


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

Serialize reads from and deserialize writes to the delegate.