Annotation Type 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 includePrivate
      If set, all private fields are included, too.
    • Element Detail

      • includePrivate

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