Package-level declarations

Types

Link copied to clipboard
class Content(val bytes: ByteArray, val flags: Int)

The encoded form of a KV value, with flags indicating the data type.

Link copied to clipboard
class JacksonJsonSerializer(mapper: ObjectMapper) : JsonSerializer
Link copied to clipboard
interface JsonSerializer
Link copied to clipboard

Converts the value to and from JSON by delegating to a JsonSerializer

Link copied to clipboard
class KotlinxSerializationJsonSerializer(jsonFormat: Json = Json) : JsonSerializer

A JsonSerializer for integrating with kotlinx.serialization.

Link copied to clipboard
class MoshiJsonSerializer(moshi: Moshi, customize: JsonAdapter<*>.(type: TypeRef<*>) -> JsonAdapter<*> = { this }) : JsonSerializer

A JSON serializer backed by Moshi.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface Transcoder
Link copied to clipboard
abstract class TypeRef<T>

A reified type. Conveys generic type information at run time.

Functions

Link copied to clipboard
inline fun <T> typeRef(): TypeRef<T>

Returns a reified version of the type parameter.