Annotation Interface IncludeFields


@Retention(RUNTIME) @Target(TYPE) public @interface IncludeFields
Include all values of (public) fields when serializing the object.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If set, all private fields are included, too.
  • Element Details

    • includePrivate

      boolean includePrivate
      If set, all private fields are included, too.
      Default:
      false