LegacyStringChromaColourTypeAdapter

open class LegacyStringChromaColourTypeAdapter : TypeAdapter<T> (source)

Gson type adapter for reading and writing ChromaColour elements in their string format.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun nullSafe(): TypeAdapter<T>
Link copied to clipboard
open fun read(jsonReader: JsonReader): ChromaColour
Link copied to clipboard
open fun write(jsonWriter: JsonWriter, chromaColour: ChromaColour)