Registry / serialization / json4s-core-2-12

json4s-core-2-12

JSON →
library4.0.7javamavenunverified

Core library for JSON processing in Scala, providing AST and serialization support.

<dependency> <groupId>org.json4s</groupId> <artifactId>json4s-core_2.12</artifactId> <version>4.0.7</version> </dependency>
INSTALL
IMPORT
SIG · JSON4S-CORE-2-12
J
json4s-core-2-12
serializationjavav4.0.7
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.

JValue
org.json4s.JValue

Parses a JSON string into a JValue AST and prints it compactly.

import org.json4s._ import org.json4s.jackson.JsonMethods._ object Example extends App { val json: JValue = parse("""{"name":"John"}""") println(compact(render(json))) }
Debug
Known issues
breakingScala version compatibility: json4s-core_2.12 is only compatible with Scala 2.12.x.
fix
Use the appropriate artifact for your Scala version (e.g., json4s-core_2.13 for Scala 2.13).
affects: all versions
Upgrade
Version history
4.0.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
json4s-core-2-12 — mvn dependency:get json4s-core-2-12 · libregistry