EDIT: Im parsing a JSON. The JSON have this form
{
"responseObject": {
"slots_0": [
{ //SlotItem (date, string, int, boolean },
{ //SlotItem }
],
"slots_1": [
{ //SlotItem (date, string, int, boolean },
{ //SlotItem }
{ //SlotItem }
]
},
"messages" : "Hi Stackoverflow"
}
I can't parse my response with slot_0, slot_1 because I can have more that only two actually I can have slot_n, responseObject will be an array of arrays of SlotItems, if Im not wrong.
I make this parsing first (Because I only need responseObject)
Hashmap <String, String> response = (Hashmap<String, String>) response.get("responseObject")
So after that I try to make an ArrayList<SlotItem []>
Prior my edit I was trying this way:
I want to have an ArrayList of an array of Objects
ArrayList <SlotItem []> slotsinfo
Inside the ArrayList I have this structure:

I want to get a simple ArrayList, not a LinkedHashMap.
Because I want to retrieve the information in this way
String storeId = slotsinfo.get(index).getStoreId();
Inside SlotItem I have getters and setters.
I try to retrieve the data getting inside the list using get(index), but it doesn't work.