Fix javadoc of SerializedName
In #699 the approach was changed but docs were left for the first implementation.
This commit is contained in:
parent
095ebbd5a1
commit
3b1671dde9
|
@ -81,9 +81,11 @@ import java.lang.annotation.Target;
|
|||
public @interface SerializedName {
|
||||
|
||||
/**
|
||||
* @return the desired names of the field when it is deserialized or serialized. All of the specified names will be deserialized from.
|
||||
* The specified first name is what is used for serialization.
|
||||
* @return the desired name of the field when it is serialized or deserialized
|
||||
*/
|
||||
String value();
|
||||
/**
|
||||
* @return the alternative names of the field when it is deserialized
|
||||
*/
|
||||
String[] alternate() default {};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue