Package org.spongepowered.configurate.serialize
@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.
-
ClassDescriptionA serializer for nodes that are 'list-like' (i.e may be stored in nodes where
ConfigurationNode.isList()
is true.Error thrown when a value fails to be converted to an expected type.Indicates that serializable fields of typePattern
should have certain pattern flags applied upon creation.Scalar value serializers availableSerialize a value that can be represented as a scalar value within a node.A specialization of the scalar serializer that favors annotated type methods over unannotated methods.Exception thrown on errors encountered while using type serializers.Represents an object which can serialize and deserialize objects of a given type.A type serializer that prefers type use annotation metadata to deserialize the type.A calculated collection ofTypeSerializer
s.A builder to construct new serializer collections.