NumberAsBooleanSerializer

  • 0 -> false

  • other -> true, decode true to 1

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): Boolean
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Boolean)