Interface | Description |
---|---|
Converter<T> |
Converter for (de)serialization.
|
Converters |
Serialization Converters.
|
Deserializer |
Deserializer.
|
Serialization |
Serialization extends
Serializer and Deserializer . |
Serialization.Format |
Serialization format @Service tags.
|
Serializer |
Serializer.
|
Serializer.Options |
State serializer options.
|
Class | Description |
---|---|
Converters.Mixin |
Serialization Converters default Mixin.
|
JavaSerializationConverter |
A Converter based on Java Serialization.
|
Serializer.Options.Builder |
Builder for
Serializer.Options . |
Exception | Description |
---|---|
SerializationException |
Serialization Exception.
|
Annotation Type | Description |
---|---|
ConvertedBy |
Convert this type or Property with the given
Converter . |
Serialization
extends Serializer
and Deserializer
.
SerializationException
is thrown when something goes wrong.
Serialization implementations should be tagged with
Serialization.Format
at assembly time so that consumers can specify which format they need:
@Service @Tagged( Serialization.Format.JSON ) Serialization serialization;
Serializers and Deserializers provides methods and functions to (de)serialize objects and set of objects.
Serialized representations might be textual (e.g. JSON and XML) or binary. Implementations are free to use any codec to encode/decode from/to text and bytes but it must be bi-directional.
The serialization behavior can be influenced using Serializer.Options
.