NumberAsIntSerializer

object NumberAsIntSerializer : KSerializer<Int>

floating point number to/from Long serializer

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

serial descriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): Int

deserialize value with decoder and return decoded value

Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Int)

serialize value with encoder