Registry / serialization / json4s-native-2-11

json4s-native-2-11

JSON →
library4.0.6javamavenunverified

JSON4S Native provides a native Scala JSON parser and renderer using the json4s AST.

<dependency> <groupId>org.json4s</groupId> <artifactId>json4s-native_2.11</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · JSON4S-NATIVE-2-11
J
json4s-native-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.

JsonMethods
org.json4s.native.JsonMethods

Parse a JSON string and render it compactly.

import org.json4s._ import org.json4s.native.JsonMethods._ val json = parse("""{"name": "John"}""") println(compact(render(json)))
Debug
Known issues
breakingJSON4S 4.x uses Scala 2.11; for Scala 2.12+ use json4s-native_2.12 or later.
fix
Use the appropriate Scala version suffix in the artifact coordinate.
affects: 4.x
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
json4s-native-2-11 — mvn dependency:get json4s-native-2-11 · libregistry