Annotation Type FieldSerializer.NotNull


  • @Retention(RUNTIME)
    @Target(FIELD)
    public static @interface FieldSerializer.NotNull
    Indicates a field can never be null when it is being serialized and deserialized. Some serializers use this to save space. Eg, FieldSerializer may save 1 byte per field.
    Author:
    Nathan Sweet