Skip to content

JSON messaging

Example of how to use the JSON library API wrappers, in this case the module used is Jackson. http4k provides an identical interface for all JSON implementations.

Gradle setup

    compile group: "org.http4k", name: "http4k-core", version: "3.196.0"
    compile group: "org.http4k", name: "http4k-format-jackson", version: "3.196.0"

Code