https://stackoverflow.com/questions/25707728/multiple-gson-serializedname-per-field
@SerializedName(alternate = {"brand_name"}, value = "brandName")
private String brandName;
https://stackoverflow.com/questions/25707728/multiple-gson-serializedname-per-field
@SerializedName(alternate = {"brand_name"}, value = "brandName")
private String brandName;
本文标题:field-alias
本文链接:https://www.haomeiwen.com/subject/utevjqtx.html
网友评论