interface KeyedEncodingContainer
source · line 37public
public interface KeyedEncodingContainer
A named-field record container. Finish the record with end after processing its fields.
function field
source · line 41public
public fun field(name: String): Encoder
Opens the child encoder for the named field.
parameter name
source · line 41public
name: String
function end
source · line 45public
public fun end(): Unit
Completes the container and permits the backend to check its final structure.