Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id":"abc",
- "name":"abc",
- "otherInfo": {},
- "personalData:[{}]
- }
- JSONParser parser = new JSONParser();
- Object obj = parser.parse(new FileReader("...")); //the location of the file
- JSONObject jsonObject = (JSONObject) obj;
- JSONArray numbers = (JSONArray) jsonObject.get("personalData");
Add Comment
Please, Sign In to add comment