Is there a way to avoid reflection in Gson? I know that when you will use registerTypeAdapter you can avoid it, but if you use @SerializedName("name") annotation on class member, can you avoid id too?
registerTypeAdapter
@SerializedName("name")
Aucun commentaire:
Enregistrer un commentaire