Akka HTTP custom marshalling library
An unofficial library that provides support for (un)marshalling JSON using Scala JSON (AST) libraries.
Add the following dependency to
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 [
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 [
Argonaut], depending on the JSON library you wish to use.
Licensed under the MIT License. See the LICENSE file for details.