Annotation Type JSONIgnore
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface JSONIgnore
Indicates that a JSON element should be ignored.
- Author:
- Jim Earley (xml.jim@gmail.com)
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
value
Specifies whether the element should be ignored.
-
Element Details
-
value
boolean valueSpecifies whether the element should be ignored. By default it's set to true. If set to false, then the element will be used.- Returns:
- true (default) if element should be ignored. If overridden and set to false, the element will be used.
- Default:
- true
-