@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
Package org.spongepowered.configurate.serialize
Type serializer mechanisms and the standard type serializers
shipped with Configurate.
Type serializers are registered and queried using
TypeSerializerCollection
. For
scalar serializers (those that take a scalar configuration value only), the
ScalarSerializer
class
provides many common behaviours. Core scalar serializers are included in
the Scalars
interface.
-
Interface Summary Interface Description TypeSerializer<T> Represents an object which can serialize and deserialize objects of a given type.TypeSerializer.Annotated<V> A type serializer that prefers type use annotation metadata to deserialize the type. -
Class Summary Class Description AbstractListChildSerializer<T> A serializer for nodes that are 'list-like' (i.e may be stored in nodes whereConfigurationNode.isList()
is true.Scalars Scalar value serializers availableScalarSerializer<T> Serialize a value that can be represented as a scalar value within a node.ScalarSerializer.Annotated<V> A specialization of the scalar serializer that favors annotated type methods over unannotated methods.TypeSerializerCollection A calculated collection ofTypeSerializer
s.TypeSerializerCollection.Builder A builder to construct new serializer collections. -
Exception Summary Exception Description CoercionFailedException Error thrown when a value fails to be converted to an expected type.SerializationException Exception thrown on errors encountered while using type serializers. -
Annotation Types Summary Annotation Type Description PatternFlags Indicates that serializable fields of typePattern
should have certain pattern flags applied upon creation.