pjan / akka-http-marshalling

akka-http custom marshalling support

Version Matrix

Akka HTTP custom marshalling library

An unofficial library that provides support for (un)marshalling JSON using Scala JSON (AST) libraries.

Currently for akka-http RC4

Installation instructions

Add the following dependency to build.sbt:

resolvers += "pjan at bintray" at "http://dl.bintray.com/pjan/maven"

"io.pjan" %% "akka-http-marshalling-XYZ" % "0.2.0"

XYZ in the above snippet is one of [play-json, argonaut], depending on the JSON library you wish to use.


Each of the support libraries contain an ABCMarshallingSupport trait and an ABCUnmarshallingSupport trait offering JSON marshalling and JSON unmarshalling support respectively, as well as an ABCSupport trait combining them. You can mix the required ones into the code that should (un)marshall to or from JSON.

ABC in the above smippet is one of [PlayJson, Argonaut], depending on the JSON library you wish to use.


Licensed under the MIT License. See the LICENSE file for details.