Annotation Type TaggedFieldSerializer.Tag

Enclosing class:
TaggedFieldSerializer<T>

@Retention(RUNTIME) @Target(FIELD) public static @interface TaggedFieldSerializer.Tag
Marks a field for serialization.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If true, the field is serialized with chunked encoding and is forward compatible, meaning safe to read in iterations of the class without it if TaggedFieldSerializerConfig.getSkipUnknownTags().
  • Element Details

    • value

      int value
    • annexed

      boolean annexed
      If true, the field is serialized with chunked encoding and is forward compatible, meaning safe to read in iterations of the class without it if TaggedFieldSerializerConfig.getSkipUnknownTags().
      Default:
      false