Serde
Interface defining serialization and deserialization of concrete types.
Serde implementations are provided in JsonSerdes
in sdk-api
, KtSerdes
in sdk-api-kotlin
, JacksonSerdes
in sdk-serde-jackson
,
ProtobufSerdes
in sdk-serde-protobuf
.
You can create a custom one using using.
Inheritors
Properties
Functions
Link copied to clipboard
Content-type to use in request/responses.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T> using(serializer: ThrowingFunction<T, Array<Byte>>, deserializer: ThrowingFunction<Array<Byte>, T>): Serde<@NonNull T>
Like using, using content-type
application/octet-stream
.Link copied to clipboard