Registry / serialization / dsl-json-java8

dsl-json-java8

JSON →
library1.10.0javamavenunverified

DSL Platform compatible Java JSON library for high-performance JSON serialization/deserialization.

<dependency> <groupId>com.dslplatform</groupId> <artifactId>dsl-json-java8</artifactId> <version>1.10.0</version> </dependency>
INSTALL
IMPORT
SIG · DSL-JSON-JAVA8
D
dsl-json-java8
serializationjavav1.10.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.

DslJson
✓ com.dslplatform.json.DslJson

Minimal serialization of an object to JSON using DslJson.

import com.dslplatform.json.DslJson; import java.io.ByteArrayOutputStream; public class Example { public static void main(String[] args) throws Exception { DslJson<Object> dslJson = new DslJson<>(); ByteArrayOutputStream os = new ByteArrayOutputStream(); dslJson.serialize(new MyObject(), os); System.out.println(os.toString()); } }
Debug
Known issues
gotchaRequires annotation processing for optimal performance; without it, reflection fallback is slower.
fix
Configure annotation processor in your build tool (Maven/Gradle) for compile-time code generation.
affects: *
Upgrade
Version history
1.10.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
dsl-json-java8 — mvn dependency:get dsl-json-java8 · libregistry