hseeberger / akka-http-json

Integrate some of the best JSON libs in Scala with Akka HTTP
Apache License 2.0
592 stars 133 forks source link
akka akka-http json scala

akka-http-json

Attention: This project is no longer actively maintained. Feel free to fork it or use Pekko.

License Maven Central Scala Steward badge

akka-http-json provides JSON (un)marshalling support for Akka HTTP via the following JSON libraries:

Installation

The artifacts are published to Maven Central.

libraryDependencies ++= Seq(
  "de.heikoseeberger" %% "akka-http-circe" % AkkaHttpJsonVersion,
  ...
)

Usage

Use respective support trait or object, e.g. ArgonautSupport, FailFastCirceSupport, etc. 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.

Contribution policy

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.

License

This code is open source software licensed under the Apache 2.0 License.

YourKit

YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of YourKit Java Profiler.