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
I'd like the ability to control the name of a property being serialized on
a per-field basis using an annotation. Something like:
@SerializeAsName("id")
String getUniqueName() { ... }
Other alternatives are @Name, @Named, @JsonName, etc.
Original issue reported on code.google.com by viri...@gmail.com on 4 Jun 2008 at 10:09
The text was updated successfully, but these errors were encountered:
This request is similar to Issue 9.
We should develop a generic naming policy that can handle both annotation based
and
general field renaming (or a combination of naming policies).
Original comment by joel.leitch@gmail.com on 6 Jun 2008 at 12:30
Feature request submitted in r104. This change will be rolled out in the 1.1
release.
See https://sites.google.com/site/gson/gson-roadmap for information on upcoming
releases.
Original comment by joel.leitch@gmail.com on 30 Jun 2008 at 2:30
Original issue reported on code.google.com by
viri...@gmail.com
on 4 Jun 2008 at 10:09The text was updated successfully, but these errors were encountered: