PropertySerializer

object PropertySerializer : KSerializer<Property<Any>> (source)

Encodes a property as {"name", "type", "value", "description"}.

String, Int, Long, Double, Boolean, Instant, LocalDate and LocalDateTime are built in. Any other value type must be a @Serializable class registered in the Json serializers module under polymorphic(Any::class); its serial name becomes the type.

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): Property<Any>
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Property<Any>)