13 lines
302 B
Java
13 lines
302 B
Java
|
package io.gitlab.jfronny.commons.serialize.gson.api;
|
||
|
|
||
|
import java.lang.annotation.*;
|
||
|
|
||
|
/**
|
||
|
* Mark a class/field to be ignored by Gson.
|
||
|
* May be used for metadata in serialized classes
|
||
|
*/
|
||
|
@Retention(RetentionPolicy.RUNTIME)
|
||
|
@Target({ElementType.FIELD, ElementType.TYPE})
|
||
|
public @interface Ignore {
|
||
|
}
|