This project has retired. For details please refer to its Attic page.
org.apache.polygene.api.serialization (Apache Polygeneâ„¢ (Java Edition) SDK 3.0.0)
Skip navigation links

Package org.apache.polygene.api.serialization

Serialization API.

See: Description

Package org.apache.polygene.api.serialization Description

Serialization API.

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.

Skip navigation links