Annotation Interface ClientSerializationStrategy
Specifies the serialization strategy for a model. In the event that a model needs to be serialized with varying
strategies, this can be used to hint the underlying container how it should be serialized or deserialized. In some
cases, it may be necessary to override or change the behavior of the underlying serialization.
This only affects the use case when used in a client context.
If unspecified, the default scheme will be used.
-
Optional Element Summary
Optional Elements -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringImplies serialized fields follow the Apple/iTunes Stylestatic final StringIndicates the default case which isLCAMEL.static final StringImplies that serialized fields use lowerCamelCasestatic final StringImplies serialized fields follow the Apple/iTunes Style
-
Field Details
-
APPLE_ITUNES
Implies serialized fields follow the Apple/iTunes Style- See Also:
-
META_GRAPH
Implies serialized fields follow the Apple/iTunes Style- See Also:
-
LCAMEL
Implies that serialized fields use lowerCamelCase- See Also:
-
DEFAULT
Indicates the default case which isLCAMEL.- See Also:
-
-
Element Details
-
value
String valueThe name of the serialization driver to use.- Returns:
- the name of the serialization driver to use.
- Default:
"dev.getelements.elements.sdk.model.annotation.SerializationStrategy.lcamel"
-