http://www.velvetcache.org/2011/01/24/gson-inheritance-issues
Basically, key is to ensure that you specify the field values as private fields, and assign their values in the constructor (not by creating a new private field with an updated value)
Stuff I think I should write down so I don't forget it....
No comments:
Post a Comment