Annotation Interface SerializedAs


@Target(FIELD) @Retention(RUNTIME) public @interface SerializedAs
Used to tell AutoConfig to use a specific name to serialize certain properties.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the property that will be used to serialize the property.
  • Element Details

    • value

      String value
      The name of the property that will be used to serialize the property.