This is my json data
{
"tag1":["haaai ","hello"],
"tag2":[["haai1","haai2"],["hello1","hello2","hello3"]]
}
I can successfully read array tag1 using my java code
JSONArray msg = (JSONArray) jsonObject.get("tag1");
Iterator<String> iterator = msg.iterator();
while (iterator.hasNext()) {
String text = iterator.next();
System.out.println(text);
}
But, I can't read the tag2 array using the above method. Any idea?