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
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start 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