My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
             
New issue | Search
for
| Advanced search | Search tips
Issue 121: SerializedName should allow Java reserved words in JSON
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  joel.leitch
Closed:  Sep 29
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by inder123, May 05, 2009
See
http://groups.google.com/group/google-gson/browse_thread/thread/085ae0279f57b8e9?hl=en
Comment 1 by joel.leitch, May 24, 2009
Fix submitted in r426.
Status: Fixed
Owner: joel.leitch
Comment 2 by zhouyanming, Aug 24, 2009
SerializedName should allow '-' too.

@SerializedName("font-size")
private Integer fontSize;
Comment 3 by inder123, Aug 24, 2009
(No comment was entered for this change.)
Status: Accepted
Comment 4 by joel.leitch, Sep 29, 2009
Fixed in r455.

Added a new default naming policy with dashes in r456.
Status: Fixed
Sign in to add a comment

Hosted by Google Code