api

http4k / org.http4k.format / ConfigurableJacksonYaml

ConfigurableJacksonYaml

open class ConfigurableJacksonYaml : AutoMarshalling

Constructors

Name Summary
<init> ConfigurableJacksonYaml(mapper: ObjectMapper)

Properties

Name Summary
mapper val mapper: ObjectMapper

Functions

Name Summary
asA open fun <T : Any> asA(input: String, target: KClass<T>): T
asFormatString open fun asFormatString(input: Any): String
autoBody fun <T : Any> autoBody(description: String? = null, contentNegotiation: ContentNegotiation = None): BiDiBodyLensSpec<T>

Companion Object Functions

Name Summary
auto fun <T : Any> WsMessage.Companion.auto(): <ERROR CLASS>
fun <T : Any> Body.Companion.auto(description: String? = null, contentNegotiation: ContentNegotiation = None): BiDiBodyLensSpec<T>

Inheritors

Name Summary
JacksonYaml object JacksonYaml : ConfigurableJacksonYaml