Registry / serialization / zio-json-2-12

zio-json-2-12

JSON →
library0.9.0javamavenunverified

zio-json

<dependency> <groupId>dev.zio</groupId> <artifactId>zio-json_2.12</artifactId> <version>0.9.0</version> </dependency>
INSTALL
IMPORT
SIG · ZIO-JSON-2-12
Z
zio-json-2-12
serializationjavav0.9.0
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.

JsonDecoder
zio.json.JsonDecoder

Minimal JSON decoding with ZIO JSON.

import zio.json._ case class Person(name: String, age: Int) object Person { implicit val decoder: JsonDecoder[Person] = DeriveJsonDecoder.gen[Person] } val json = """{"name":"John","age":30}""" val person = json.fromJson[Person]
Debug
Known issues
gotchaThis is a Scala library; Java projects cannot directly import it.
fix
Use Scala interop or a Java JSON library like Jackson.
affects: *
Upgrade
Version history
0.9.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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