Package yapion.annotations.serialize
Annotation Type YAPIONOptimize
-
@Retention(RUNTIME) @Target(FIELD) @Repeatable(YAPIONOptimizes.class) public @interface YAPIONOptimize
This annotation is for optimizing the YAPIONObject to remove Objects that arenull
. This is for preventing clutter in the serialization. Only use this if you can handle the edge case that, in the deserialization, the field can be after deserializationnull
.
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
-