How can I parse this JSON using Gson? I have an array with multiple object types and I don\'t know what kind of object I need to create to save this structure. I cannot cha
I think this link might help you: https://sites.google.com/site/gson/gson-user-guide#TOC-Collections-Examples
Basically, create a class for your "object" (kind of user I guess), and then use the deserialization code of Gson, like this:
Type collectionType = new TypeToken>(){}.getType();
Collection users= gson.fromJson(json, collectionType);