akka-http-json provides JSON (un)marshalling support for Akka HTTP via the following JSON libraries:
- Argonaut
- circe
- Jackson via Scala Module by default
- Json4s
- jsoniter-scala
- Play JSON
- uPickle
- avro4s
- AVSystem GenCodec
The artifacts are published to Maven Central.
libraryDependencies ++= Seq(
"de.heikoseeberger" %% "akka-http-circe" % "1.26.0",
...
)
Mix ArgonautSupport
, FailFastCirceSupport
or ErrorAccumulatingCirceSupport
, JacksonSupport
, Json4sSupport
, JsoniterScalaSupport
, PlayJsonSupport
, UpickleSupport
or AvroSupport
into your Akka HTTP code which is supposed to (un)marshal from/to JSON. Don't forget to provide the type class instances for the respective JSON libraries, if needed.
Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.
This code is open source software licensed under the Apache 2.0 License.
YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of YourKit Java Profiler.