ConfigurableKlaxon
open class ConfigurableKlaxon(klaxon: Klaxon, val defaultContentType: ContentType = APPLICATION_JSON) : AutoMarshalling
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any> Body.Companion.auto(description: String? = null, contentNegotiation: ContentNegotiation = ContentNegotiation.None, contentType: ContentType = defaultContentType): BiDiBodyLensSpec<T>
Link copied to clipboard
inline fun <T : Any> autoBody(description: String? = null, contentNegotiation: ContentNegotiation = ContentNegotiation.None, contentType: ContentType = defaultContentType): BiDiBodyLensSpec<T>
Link copied to clipboard
Link copied to clipboard
Convenience function to read an object as JSON from the message body.
Convenience function to write the object as JSON to the message body and set the content type.