Annotation Type SkipDefaultValue


@Retention(RUNTIME)
@Target(FIELD)
@Documented
public @interface SkipDefaultValue
Indicate that a field should not be written to the output if it is the types default value. This annotation is handled correctly if a class uses ReflectionSerializer.

Example: