Annotation Interface SerializeIgnore


@Target({METHOD,CONSTRUCTOR,FIELD}) @Retention(RUNTIME) public @interface SerializeIgnore
Annotation to signal a field or method should not be used during introspection-based serialization or de-serialization.

This is designed to be used during view rendering, for example, where specific properties should not be rendered into the view output format (e.g. JSON, XML, etc).

Version:
1.0
Author:
matt
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Optional argument that defines if this annotation is active.
  • Element Details

    • value

      boolean value
      Optional argument that defines if this annotation is active.
      Returns:
      true to ignore this property when serializing
      Default:
      true