Rfc3339DateJsonAdapter

class Rfc3339DateJsonAdapter : JsonAdapter<Date>

Deprecated

this class moved to avoid a package name conflict in the Java Platform Module System. The new class is {@code com.squareup.moshi.adapters.Rfc3339DateJsonAdapter}.

Functions

failOnUnknown
Link copied to clipboard
fun failOnUnknown(): JsonAdapter<T>
fromJson
Link copied to clipboard
abstract fun fromJson(p: JsonReader): T
open fun fromJson(reader: JsonReader): Date
fromJsonValue
Link copied to clipboard
fun fromJsonValue(value: Any): T
indent
Link copied to clipboard
open fun indent(indent: String): JsonAdapter<T>
lenient
Link copied to clipboard
fun lenient(): JsonAdapter<T>
nonNull
Link copied to clipboard
fun nonNull(): JsonAdapter<T>
nullSafe
Link copied to clipboard
fun nullSafe(): JsonAdapter<T>
serializeNulls
Link copied to clipboard
fun serializeNulls(): JsonAdapter<T>
toJson
Link copied to clipboard
fun toJson(value: T): String
abstract fun toJson(p: JsonWriter, p1: T)
open fun toJson(writer: JsonWriter, value: Date)
toJsonValue
Link copied to clipboard
fun toJsonValue(value: T): Any