Registry / serialization / kryo5
library5.6.2javamavenunverified

Fast and efficient Java serialization framework, version 5 specific artifact for high-performance object graph serialization.

<dependency> <groupId>com.esotericsoftware.kryo</groupId> <artifactId>kryo5</artifactId> <version>5.6.2</version> </dependency>
INSTALL
IMPORT
SIG · KRYO5
K
kryo5
serializationjavav5.6.2
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.

Kryo
com.esotericsoftware.kryo.Kryo

Serializes and deserializes a string using Kryo.

import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.Output; import com.esotericsoftware.kryo.io.Input; public class Quickstart { public static void main(String[] args) { Kryo kryo = new Kryo(); Output output = new Output(new java.io.ByteArrayOutputStream()); kryo.writeObject(output, "Hello Kryo"); output.close(); Input input = new Input(output.getBuffer()); String result = kryo.readObject(input, String.class); System.out.println(result); } }
Debug
Known issues
breakingKryo 5 has breaking API changes from Kryo 2.x/3.x/4.x, including package restructuring.
fix
Use the kryo5 artifact specifically for Kryo 5.x; migrate code accordingly.
affects: 5.x
Upgrade
Version history
5.6.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
kryo5 — mvn dependency:get kryo5 · libregistry