setValue

inline suspend fun <T> setValue(value: T?, buildSettings: EncodeSettings.Builder.() -> Unit = {})(source)
inline suspend fun <T> setValue(strategy: SerializationStrategy<T>, value: T, buildSettings: EncodeSettings.Builder.() -> Unit = {})(source)


inline suspend fun <T> setValue(value: T?, encodeDefaults: Boolean)(source)

Deprecated

Deprecated. Use builder instead

Replace with

setValue(value) { this.encodeDefaults = encodeDefaults }

suspend fun <T> setValue(strategy: SerializationStrategy<T>, value: T, encodeDefaults: Boolean)(source)

Deprecated

Deprecated. Use builder instead

Replace with

setValue(strategy, value) { this.encodeDefaults = encodeDefaults }