Package se.l4.commons.serialization
-
Interface Summary Interface Description Serializer<T> Serializer for a specific class.Serializer.NullHandling Marker interface used when a serializer wants to handle an incomingnullvalue.SerializerCollection Collection ofSerializers andresolvers.SerializerFormatDefinition.Builder SerializerFormatDefinition.FieldBuilder Builder for field definition for object.SerializerOrResolver<T> Either aSerializeror aSerializerResolver. -
Class Summary Class Description AbstractSerializerCollection Default implementation ofSerializerCollection.DefaultSerializerCollection Default implementation ofSerializerCollection.QualifiedName Name for aSerializer.ReflectionSerializer<T> Serializer that will use reflection to access fields and methods in a class.SerializerFormatDefinition Definition of the output of aSerializer.SerializerFormatDefinition.FieldDefinition WrappedSerializerCollection Implementation ofSerializerCollectionthat wraps another collection. -
Exception Summary Exception Description SerializationException Exception that is related to errors with serialization. -
Annotation Types Summary Annotation Type Description AllowAny Indicate that a field may contain any type that is compatible with the declaration.AllowSimpleTypes Indicate that a field may contain any simple type, which is all primtive types andString, the field may not contain any object.Expose Indicate that a certain field should be exposed in the serialized form.Factory Annotation for usage with constructors.Named Annotation that can be placed on a class that should be serialized to control under which name it is exposed.SkipDefaultValue Indicate that a field should not be written to the output if it is the types default value.Use Annotation to mark which serializer to use for a certain class.