With respect to Gson what is the difference between @Expose and @SerializedName(\"stringValue\")?
class Person{
String name;
String password;
}
suppose if i put i annotation Expose on top of a variable name or password without SerializedName, it will be serialized AS variable name
But if we put SerializedName like ("username") or ("password"),they will be serialized with that key
if Serialized
{"username":"trinadh","password":"hello"}
if not
{"name":"trinadh","password":"hello"}