Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-serialization
1.8.0-RC
common
switch theme
search in API
kotlinx-serialization-cbor
/
kotlinx.serialization.cbor
/
CborBuilder
/
encodeDefaults
encode
Defaults
var
encodeDefaults
:
Boolean
(
source
)
Specifies whether default values of Kotlin properties should be encoded.