KotlinxLocalTimeAdapter

object KotlinxLocalTimeAdapter : Adapter<LocalTime>

An Adapter that converts an ISO 8601 String like "14:35:00" to/from a kotlinx.datetime.LocalDate

It requires Android Gradle plugin 4.0 or newer and core library desugaring.

Functions

Link copied to clipboard
open override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): LocalTime
Link copied to clipboard
open override fun toJson(    writer: JsonWriter,     customScalarAdapters: CustomScalarAdapters,     value: LocalTime)