Package yapion.annotations.object
Annotation Type YAPIONPostSerialization
-
@Retention(RUNTIME) @Target(METHOD) @Repeatable(YAPIONPostSerializations.class) public @interface YAPIONPostSerialization
This annotation describes one of the three steps in the process of serialization. You can use this annotation for a method that add the data or object back after serialized by YAPION. This can be useful to evaluatenull
pointer to their excepted value after serialization.
Thr four Steps are:
- PreSerialization method call
- Serializing all fields (YAPIONSerializer
)
- PostSerialization method call
The context describes the state in which theYAPIONSerializer
should be for this annotation to take effect.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
context
-