I have the following array of Objects put in a JSONObject:
Object[] objs=new Object[4];
objs[0]=null;
objs[1]=1234;
objs[2]="test1";
objs[3]="test2";
JSONObject j=new JSONObject();
j.put("objs", objs);
Later in the code, I will need to get this array from the JSONObject and use it.
I've tried several ways so far to get "objs" from the JSON and assign it to an Array of Objects with no luck.
Does anyone has any idea how I can do this?