CacheEntryListSerializer

class CacheEntryListSerializer<K, V> @Inject constructor(cacheEntrySerializer: CacheEntrySerializer<K, V>) : JsonAdapter<List<CacheEntry<K, V>>>

An implementation of JsonAdapter for handling a list of CacheEntry objects

Constructors

Link copied to clipboard
@Inject
constructor(cacheEntrySerializer: CacheEntrySerializer<K, V>)

Functions

Link copied to clipboard
fun failOnUnknown(): JsonAdapter<List<CacheEntry<K, V>>>
Link copied to clipboard
open override fun fromJson(reader: JsonReader): List<CacheEntry<K, V>>
fun fromJson(p0: BufferedSource): List<CacheEntry<K, V>>?
Link copied to clipboard
Link copied to clipboard
open fun indent(p0: String): JsonAdapter<List<CacheEntry<K, V>>>
Link copied to clipboard
fun lenient(): JsonAdapter<List<CacheEntry<K, V>>>
Link copied to clipboard
fun nonNull(): JsonAdapter<List<CacheEntry<K, V>>>
Link copied to clipboard
fun nullSafe(): JsonAdapter<List<CacheEntry<K, V>>>
Link copied to clipboard
fun serializeNulls(): JsonAdapter<List<CacheEntry<K, V>>>
Link copied to clipboard
open override fun toJson(writer: JsonWriter, cacheEntries: List<CacheEntry<K, V>>?)
fun toJson(p0: List<CacheEntry<K, V>>?): String
fun toJson(p0: BufferedSink, p1: List<CacheEntry<K, V>>?)
Link copied to clipboard
fun toJsonValue(p0: List<CacheEntry<K, V>>?): Any?