Package com.couchbase.client.kotlin.codec

Types

Link copied to clipboard
class Content(bytes: ByteArray, 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
class JsonTranscoder(serializer: JsonSerializer) : Transcoder

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

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

A JsonSerializer for integrating with kotlinx.serialization.

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

A JSON serializer backed by Moshi.

Link copied to clipboard
object RawBinaryTranscoder : Transcoder
Link copied to clipboard
object RawJsonTranscoder : Transcoder
Link copied to clipboard
object RawStringTranscoder : Transcoder
Link copied to clipboard
interface Transcoder
Link copied to clipboard
abstract class TypeRef<T>

A reified Java 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.