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

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end. Migrate from on-prem or other clouds with free migration tools.
Try Free
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