Annotation Interface SerializedOption


@Retention(RUNTIME) @Target(FIELD) public @interface SerializedOption
Defines an option as serializable. That means that its type will be serialized and deserialized.
Since:
1.0
Author:
sehrschlechtYT | https://github.com/sehrschlechtYT
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends dev.dejvokep.boostedyaml.serialization.standard.TypeAdapter>
     
  • Element Details

    • adapter

      Class<? extends dev.dejvokep.boostedyaml.serialization.standard.TypeAdapter> adapter
      Returns:
      The class of the adapter that should be used to serialize and deserialize the option. If empty, the default adapter will be used. The class must have an empty constructor.
      Default:
      yt.sehrschlecht.classconfig.serialization.DefaultSerializationAdapter.class