Merge pull request #709 from roman-mazur/patch-1
Fix javadoc of SerializedName
This commit is contained in:
commit
51082b4759
|
@ -81,9 +81,11 @@ import java.lang.annotation.Target;
|
||||||
public @interface SerializedName {
|
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.
|
* @return the desired name of the field when it is serialized or deserialized
|
||||||
* The specified first name is what is used for serialization.
|
|
||||||
*/
|
*/
|
||||||
String value();
|
String value();
|
||||||
|
/**
|
||||||
|
* @return the alternative names of the field when it is deserialized
|
||||||
|
*/
|
||||||
String[] alternate() default {};
|
String[] alternate() default {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user