Package-level declarations

Types

Link copied to clipboard

Decodes binary data into binary data containers.

Link copied to clipboard

Encodes binary data into a binary data Source.

Link copied to clipboard
class CBORDecoder(cborMapper: CBORMapper) : ObjectMapperDecoder

Decodes binary CBOR data into Java/Kotlin types using Jackson.

Link copied to clipboard
class CBOREncoder(cborMapper: CBORMapper) : ObjectMapperEncoder

Encodes Java/Kotlin values into binary CBOR data using Jackson.

Link copied to clipboard
class JSONDecoder(jsonMapper: JsonMapper) : ObjectMapperDecoder, TextMediaTypeDecoder

Decodes binary and text JSON data into Java/Kotlin types using Jackson.

Link copied to clipboard
class JSONEncoder(jsonMapper: JsonMapper) : ObjectMapperEncoder

Encodes Java/Kotlin values into binary JSON data using Jackson.

Link copied to clipboard

Decoder for binary data that is related to specific media type.

Link copied to clipboard

Container for MediaTypeDecoders that allows registering and locating decoders for specific media types.

Link copied to clipboard

Encoder producing binary data that is related to specific media type.

Link copied to clipboard

Container for MediaTypeEncoders that allows registering and locating encoders for specific media types.

Link copied to clipboard
open class ObjectMapperDecoder(objectMapper: ObjectMapper) : MediaTypeDecoder, StructuredMediaTypeDecoder

Common Jackson ObjectMapper decoder that supports decoding from binary data and structured map data.

Link copied to clipboard
open class ObjectMapperEncoder(objectMapper: ObjectMapper) : MediaTypeEncoder

Common Jackson ObjectMapper encoder that supports encoding Java/Kotlin values into binary data.

Link copied to clipboard

Common interface for decoders that support decoding from structured maps in addition to binary data.

Link copied to clipboard

Decodes binary data into Java text containers.

Link copied to clipboard

Encodes text into a binary data Source.

Link copied to clipboard

Common interface for decoders that support decoding from text in addition to binary data.

Link copied to clipboard

Common interface for encoders that support encoding parameters int a URL encoded string as well as binary data.

Link copied to clipboard
class WWWFormURLEncoder(arrayEncoding: WWWFormURLEncoder.ArrayEncoding, boolEncoding: WWWFormURLEncoder.BoolEncoding, dateEncoding: WWWFormURLEncoder.DateEncoding, mapper: ObjectMapper = ObjectMapper().findAndRegisterModules()) : URLQueryParamsEncoder

Encodes Java/Kotlin values into application/www-url-form-encoded strings and binary data sources.

Functions

Link copied to clipboard
inline fun <T : Any> MediaTypeDecoder.decode(data: Source): T

Decodes binary data into a specific Java/Kotlin type.

Decodes a structured Map into a specific Java/Kotlin type.

inline fun <T : Any> TextMediaTypeDecoder.decode(data: String): T

Decodes text into a specific Java/Kotlin type.