@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. -
Class Summary Class Description Scalars Scalar value serializers availableScalarSerializer<T> Serialize a value that can be represented as a scalar value within a node.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.