Annotation Interface Json.Ignore

Enclosing class:
Json

@Retention(CLASS) @Target({FIELD,METHOD}) public static @interface Json.Ignore
Excludes fields or methods from JSON serialization/deserialization.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to ignore this field/method.
  • Element Details

    • value

      boolean value
      Whether to ignore this field/method.
      Returns:
      true to ignore, false to include
      Default:
      true