KotlinxLocalDateAdapter

object KotlinxLocalDateAdapter : Adapter<LocalDate>

An Adapter that converts an ISO 8601 String like "2010-06-01" 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): LocalDate
Link copied to clipboard
open override fun toJson(    writer: JsonWriter,     customScalarAdapters: CustomScalarAdapters,     value: LocalDate)