You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.
public class Test {
@SerializedName("a")
public Integer b;
public Double a;
}
2.
Test t = new Test();
t.b = 3;
gson.toJson(t)
What is the expected output? What do you see instead?
Expect: {"a":3}
Actual: {}
What version of the product are you using? On what operating system?
This works as expected in v1.2.2, but broke in one of the more recent builds.
Original issue reported on code.google.com by ch...@gmail.com on 26 Nov 2008 at 9:06
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
ch...@gmail.com
on 26 Nov 2008 at 9:06The text was updated successfully, but these errors were encountered: