Registry / serialization / json4s-ast-2-11

json4s-ast-2-11

JSON →
library4.0.6javamavenunverified

Abstract syntax tree (AST) for JSON4S, a Scala library for JSON processing.

<dependency> <groupId>org.json4s</groupId> <artifactId>json4s-ast_2.11</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · JSON4S-AST-2-11
J
json4s-ast-2-11
serializationjavav4.0.6
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.JsonAST.JValue

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

import org.json4s.JsonAST._ import org.json4s.jackson.JsonMethods._ object Quickstart extends App { val json: JValue = parse("""{"name": "John"}""") println(compact(render(json))) }
Debug
Known issues
breakingScala 2.11 is outdated; consider using a version for Scala 2.13 or 3.
fix
Use org.json4s:json4s-ast_2.13 or org.json4s:json4s-ast_3 for modern Scala versions.
affects: >=4.0.0
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources
json4s-ast-2-11 — mvn dependency:get json4s-ast-2-11 · libregistry