Reference: YAML
Installation (Gradle)
dependencies {
implementation(platform("org.http4k:http4k-bom:5.34.0.0"))
implementation("org.http4k:http4k-format-jackson-yaml")
implementation("org.http4k:http4k-format-moshi-yaml")
}
About
These modules add the ability to use YAML as a first-class citizen when reading from and to HTTP messages.