Registry / networking / akka-http-spray-json-2-13

akka-http-spray-json-2-13

JSON →
library10.5.3javamavenunverified

Akka HTTP module providing JSON serialization/deserialization using Spray JSON for Scala 2.13.

<dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-http-spray-json_2.13</artifactId> <version>10.5.3</version> </dependency>
INSTALL
IMPORT
SIG · AKKA-HTTP-SPRAY-JS
A
akka-http-spray-json-2-13
networkingjavav10.5.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SprayJsonSupport
akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport

Defines JSON marshalling for a case class using Spray JSON.

import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport._ import spray.json.DefaultJsonProtocol._ case class Person(name: String, age: Int) object PersonJsonProtocol extends DefaultJsonProtocol { implicit val personFormat = jsonFormat2(Person) }
Debug
Known issues
breakingAkka HTTP 10.5.x requires Akka 2.8.x or later; older Akka versions may cause runtime errors.
fix
Ensure your Akka version is compatible with the Akka HTTP version you are using.
affects: >=10.5.0
Upgrade
Version history
10.5.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
OpenAI (training)
1
Resources
akka-http-spray-json-2-13 — mvn dependency:get akka-http-spray-json-2-13 · libregistry