kvision / pl.treksoft.kvision.types / DateSerializer

DateSerializer

object DateSerializer : KSerializer<Date>

Properties

descriptor

val descriptor: SerialDescriptor

Functions

deserialize

fun deserialize(decoder: Decoder): Date

serialize

fun serialize(encoder: Encoder, obj: Date): Unit

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.