how can i read the json file i have and then save it in a JSONArray?
And by JSONArray I mean org.json.JSONArray, not the simple.JSONArray!
JSONParser parser = new JSONParser();
JSONArray obj = (JSONArray) parser.parse(new FileReader(pathJson));
I've tried this but i get an error when I try to use obj.get() or obj.opt() method which says im not allowed to cast simpleJSONArray to JSONArray
What should I do?