Registry / serialization / akka-http-spray-json-2-12

akka-http-spray-json-2-12

JSON →
library10.5.3javamavenunverified

Akka HTTP module providing Spray JSON serialization support for Scala 2.12.

<dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-http-spray-json_2.12</artifactId> <version>10.5.3</version> </dependency>
INSTALL
IMPORT
SIG · AKKA-HTTP-SPRAY-JS
A
akka-http-spray-json-2-12
serializationjavav10.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

Marshall/unmarshall JSON with Spray JSON in Akka HTTP

import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport._ import spray.json.DefaultJsonProtocol._ case class Item(name: String, price: Double) implicit val itemFormat = jsonFormat2(Item) // Use in route: entity(as[Item]) { item => ... }
Debug
Known issues
breakingAkka HTTP 10.5.x requires Scala 2.12/2.13; check compatibility with your Scala version.
fix
Use the correct artifact for your Scala version (e.g., _2.13 for Scala 2.13).
affects: >=10.0.0
Upgrade
Version history
10.5.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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