I have a very large JSON file in the following format:
[{\"fullname\": \"name1\", \"id\": \"123\"}, {\"fullname\": \"name2\", \"id\": \"245\"}, {\"fullname\": \
Your json is a JSONArray, so when you are parsing it, you need to parse it as a JSONArray.
JSONParser jsonParser = new JSONParser(); JSONArray a = (JSONArray) jsonParser.parse(new FileReader(src)); for (Object o : a) { // access your object here. }