Skip to content

XML handling

Installation (Gradle)

compile group: "org.http4k", name: "http4k-format-xml", version: "3.113.0"


This module adds the ability to use XML as a first-class citizen when reading from and to HTTP messages. It also adds an automarshalling facility to read XML node objects directly into a custom type which matches the schema:


There is a utility to generate data class code from XML input here . These data classes are compatible with using the<T>() functionality.