See: Description
| Interface | Description |
|---|---|
| AttributeAnnotationToRuleOnAttribute<TAnnotation extends Annotation> |
Convert an annotation on an attribute into a SerializationRule on this attribute.
|
| AttributeAnnotationToRuleOnType<TAnnotation extends Annotation> |
Convert an annotation into a SerializationRule.
|
| TypeAnnotationToRule<TAnnotation extends Annotation> |
Convert an annotation into a SerializationRule.
|
| Class | Description |
|---|---|
| AddAttribute.ToRule |
Convert the annotation into a serialization rule.
|
| AttributeAnnotationToRuleOnAttribute.Registry |
Registry of converters between annotations and serialization rules.
|
| AttributeAnnotationToRuleOnType.Registry |
Registry of converters between annotations and serialization rules.
|
| Instantiate.ToRule |
Convert the annotation into a rule.
|
| Instantiation.ToRule |
Convert an annotation into an AttributeInstantiation rule.
|
| MergeAttributes.ToRule |
Convert an annotation into a rule.
|
| Rename.ToRule |
Convert an annotation into a rule.
|
| SerializationMethods.ToRule |
Convert an annotation into a CustomAttributeSerialization rule.
|
| SerializationName.ToRule |
Convert an annotation into a rule.
|
| Transient.ToRule |
Convert a Transient annotation on a field to a
SerializationRule. |
| TypeAnnotationToRule.Registry |
Registry of converters between annotations and serialization rules.
|
| TypeInstantiation.ToRule |
Convert an annotation into a rule.
|
| TypeSerializationMethod.ToRule |
Convert an annotation into a CustomAttributeSerialization rule.
|
| TypeSerializer.ToRule |
Convert an annotation into a rule.
|
| Annotation Type | Description |
|---|---|
| AddAttribute |
Add a custom attribute to a class.
|
| AddAttributes |
Allow for multiple AddAttribute annotations.
|
| Instantiate |
Provides a factory to instantiate the annotated attribute during deserialization.
|
| Instantiation |
Allow to use another field as discriminator to know which class to instantiate when deserializing.
|
| MergeAttributes |
Merge into an attribute all other attributes to create a single object.
|
| Rename |
Specify a different name for serialization on a given class and attribute.
|
| Renames |
Specify a different name for serialization on a given class and attribute.
|
| SerializationMethods |
Specify methods to use for serialization and deserialization of an attribute.
|
| SerializationName |
Specify a different name for serialization.
|
| Transient |
Indicate that an attribute should not be serialized.
|
| TypeInstantiation |
Specify a factory to instantiate the type.
|
| TypeSerializationMethod |
Specify a method to use for serialization of an attribute.
|
| TypeSerializer |
If isGeneral is true, the custom serializer will be applied generally, else
when declared on a class or interface the attributes of this class will use
the specified serializer if the type matches, and when declared on an
an attribute it applies only on the content of this attribute.
|
| TypeSerializers |
List of serializers.
|
Copyright © 2019. All rights reserved.