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
json data can contain information about which exact class should be created,
but original InstanceCreator can't use this information.
Example:
I have abstract Command class and Command1, Command2, etc subclasses.
My json data contains "type":"Command1" pair.
So we can overcome "Collections Limitations" and can deserialize
Collection[? extends Command] realCommands = gson.fromJson(json,
collectionTypeCommand);
Original issue reported on code.google.com by rybin.andrey on 20 Sep 2010 at 12:38
Original issue reported on code.google.com by
rybin.andrey
on 20 Sep 2010 at 12:38The text was updated successfully, but these errors were encountered: