Package com.esotericsoftware.kryo.serializers
package com.esotericsoftware.kryo.serializers
-
ClassDescriptionImplementations of ASM-based serializers for fields.Serializes Java beans using bean accessor methods.Encrypts data using the blowfish cipher.Serializer for Java8 closures.Marker class to bind ClosureSerializer to.Serializes objects that implement the
Collection
interface.Used to annotate fields that are collections with specific Kryo serializers for their values.Serializes objects using direct field assignment, providing both forward and backward compatibility.Contains many serializer classes for specific array types that are provided bydefault
.Contains many serializer classes that are provided bydefault
.Serializer forBigDecimal
and any subclass.Serializer forBigInteger
and any subclass.Serializer forGregorianCalendar
, java.util.JapaneseImperialCalendar, and sun.util.BuddhistCalendar.Serializer forCharset
.Serializer for lists created viaCollections.emptyList()
or that were just assigned theCollections.EMPTY_LIST
.Serializer for maps created viaCollections.emptyMap()
or that were just assigned theCollections.EMPTY_MAP
.Serializer for sets created viaCollections.emptySet()
or that were just assigned theCollections.EMPTY_SET
.Serializer for lists created viaCollections.singletonList(Object)
.Serializer for maps created viaCollections.singletonMap(Object, Object)
.Serializer for sets created viaCollections.singleton(Object)
.Serializer forLocale
(immutables).Serializer forTimeZone
.Serializer forTreeMap
and any subclass.Serializer forTreeMap
and any subclass.Serializer forURL
.Serializes enums using the enum's name.Writes using the objects externalizable interface if it can reliably do so.FieldSerializer<T,C extends FieldSerializerConfig> Serializes objects using direct field assignment.Used to annotate fields with a specific Kryo serializer.Controls how a field will be serialized.Indicates a field should be ignored when its declaring class is registered unless thecontext
has a value set for the specified key.A few utility methods for processing field annotations.Configuration for FieldSerializer instances.A few utility methods for using generic type parameters, mostly by FieldSerializerINTERNAL API Helper class to map type name variables to concrete classes that are used during instantiationINTERNAL API Helper class that resolves a type name variable to a concrete class using the current class serialization stackSerializes objects using Java's built in serialization mechanism.$ObjectInputStream
uses the last user-defined $ClassLoader
which may not be the correct one.Serializes objects that implement theMap
interface.Used to annotate fields that are maps with specific Kryo serializers for their keys or values.Defer generation of serializers until it is really required at run-time.Serializes objects using direct field assignment for fields that have a@Tag(int)
annotation.Marks a field for serialization.Configuration for TaggedFieldSerializer instances.Serializers for java.time.*, are added as default serializers if java version is >= 8.Serializes objects using direct field assignment, with versioning backward compatibility.Incremental modification of serialized objects must addVersionFieldSerializer.Since
for new fields.