PropertyTypeAdapter

interface PropertyTypeAdapter<T : Property<out Any>?> : JsonSerializer<T> , JsonDeserializer<T>

This interface lets implement classes for JavaFX custom property serialization.

Parameters

<T>

the Property type

Functions

Link copied to clipboard
abstract fun deserialize(json: JsonElement, typeOfT: Type, context: JsonDeserializationContext): T
Link copied to clipboard
abstract fun serialize(src: T, typeOfSrc: Type, context: JsonSerializationContext): JsonElement

Properties

Link copied to clipboard
val BEAN: String
Static default JSON key for field "bean".
Link copied to clipboard
val NAME: String
Static default JSON key for field "name".
Link copied to clipboard
val VALUE: String
Static default JSON key for field "value".