api

http4k / org.http4k.format / Xml

Xml

object Xml : AutoMarshallingXml

Functions

Name Summary
asA fun <T : Any> asA(input: String, target: KClass<T>): T
asXmlDocument fun String.asXmlDocument(): Document
asXmlString fun Any.asXmlString(): String
fun Document.asXmlString(): String
asXmlToJsonElement fun String.asXmlToJsonElement(): JsonElement
fun asXmlToJsonElement(input: String): JsonElement
xml fun <IN : Any> BiDiLensSpec<IN, String>.xml(): BiDiLensSpec<IN, Document>

Companion Object Functions

Name Summary
xml fun Body.Companion.xml(description: String? = null, contentNegotiation: ContentNegotiation = ContentNegotiation.None): BiDiBodyLensSpec<Document>