kvision / pl.treksoft.kvision.types / JsonDateSerializer

JsonDateSerializer

object JsonDateSerializer : KSerializer<Date>

JSON date serializer.

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.