Kryo is a fast and efficient binary object graph serialization framework for Java. The goals of the project are high speed, low size, and an easy-to-use API. The project is useful any time objects need to be persisted, whether to a file, database or over the network. Kryo can also perform automatic deep and shallow copying/cloning. This is direct copying from object to object, not object to bytes to object. Kryo has three sets of methods for reading and writing objects. If the concrete class of the object is not known and the object could be null. Besides methods to read and write objects, the Kryo class provides a way to register serializers, reads and writes class identifiers efficiently, handles null objects for serializers that can't accept nulls, and handles reading and writing object references (if enabled). This allows serializers to focus on their serialization tasks.

Features

  • While testing and exploring Kryo APIs, it can be useful to write an object to bytes
  • Kryo has three sets of methods for reading and writing objects
  • All the serializers being used need to support copying
  • If using Kryo only for copying, registration can be safely disabled
  • By default references are not enabled
  • Enabling references impacts performance because every object that is read or written needs to be tracked

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Kryo

Kryo Web Site

You Might Also Like
QA Wolf | We Write, Run and Maintain Tests Icon
QA Wolf | We Write, Run and Maintain Tests

For developer teams searching for a testing software

QA Wolf is an AI-native service that delivers 80% automated E2E test coverage for web & mobile apps in weeks not years.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Kryo!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java HTML XHTML, Java Serial Software, Java Hex Editors

Registered

2021-10-27