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
Currently Gson just uses the actual name of the field as the Json property
name. This should be customizable. For example, it should be possible to
convert camel-case into hyphenated, or Camel-cased with upper-case first
letter.
so, myFavoriteField in Java gets mapped to my-favorite-field or
MyFavoriteField in Json.
One approach to achieve this is by providing a name translation policy in
GsonBuilder.
Original issue reported on code.google.com by inder123 on 22 May 2008 at 5:51
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
inder123
on 22 May 2008 at 5:51The text was updated successfully, but these errors were encountered: