api

http4k / org.http4k.format / ConfigurableJacksonXml

ConfigurableJacksonXml

open class ConfigurableJacksonXml : AutoMarshallingXml (source)

Constructors

Name Summary
<init> ConfigurableJacksonXml(mapper: XmlMapper)

Functions

Name Summary
asA open fun <T : Any> asA(input: String, target: KClass<T>): T
asXmlString open fun Any.asXmlString(): String!

Inherited Functions

Name Summary
asA fun <T : Any> asA(input: String): T
abstract fun <T : Any> asA(input: String, target: KClass<T>): T
asXmlString fun asXmlString(input: Any): String

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T

Inheritors

Name Summary
JacksonXml object JacksonXml : ConfigurableJacksonXml
To implement custom XML configuration, create your own object singleton. Extra mappings can be added before done() is called.