to

infix inline fun <T> String.to(value: T)(source)

Updates the field represented by a String to a given value The value will be encoded according to the EncodeSettings set by this builder.

Parameters

T

the type of the value

value

the value T to update to


infix inline fun <T> FieldPath.to(value: T)(source)

Updates a FieldPath to a given value The value will be encoded according to the EncodeSettings set by this builder.

Parameters

T

the type of the value

value

the value T to update to


fun <T : Any> String.to(strategy: SerializationStrategy<T>, value: T)(source)

Updates the field represented by a String to a given value The value will be encoded according to the EncodeSettings set by this builder.

Parameters

T

the type of the value

strategy

the SerializationStrategy to apply to the value

value

the value T to update to


fun <T : Any> FieldPath.to(strategy: SerializationStrategy<T>, value: T)(source)

Updates a FieldPath to a given value The value will be encoded according to the EncodeSettings set by this builder.

Parameters

T

the type of the value

strategy

the SerializationStrategy to apply to the value

value

the value T to update to