Registry / serialization / http4s-circe-2-13

http4s-circe-2-13

JSON →
library0.23.33javamavenunverified

Provides Circe codec integration for http4s, enabling JSON serialization/deserialization in HTTP services.

<dependency> <groupId>org.http4s</groupId> <artifactId>http4s-circe_2.13</artifactId> <version>0.23.33</version> </dependency>
INSTALL
IMPORT
SIG · HTTP4S-CIRCE-2-13
H
http4s-circe-2-13
serializationjavav0.23.33
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.

CirceEntityCodec
org.http4s.circe.CirceEntityCodec

Use CirceEntityCodec to encode a case class as JSON entity for http4s.

import org.http4s.circe.CirceEntityCodec._ import org.http4s._ import io.circe.generic.auto._ case class User(name: String, age: Int) val user = User("Alice", 30) val entity: Entity[IO] = user.asJson
Debug
Known issues
breakingThis artifact is for Scala 2.13; using it with other Scala versions will fail.
fix
Use the appropriate artifact for your Scala version (e.g., http4s-circe_3 for Scala 3).
affects: all
Upgrade
Version history
0.23.33latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
http4s-circe-2-13 — mvn dependency:get http4s-circe-2-13 · libregistry