Annotation Interface Json.Ignore

Enclosing class:
Json

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

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

    • value

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