[Solved] RegEx in Java for multiple hits [closed]
Try with JSON library sample code: JSONObject jsonObject = new JSONObject(jsonString); JSONObject innJsonObject = jsonObject.getJSONArray(“entries”).getJSONObject(0); System.out.println(innJsonObject.get(“pageref”)); // page_0 System.out.println(innJsonObject.get(“time”)); // 515 You can try with GSON library as well. sample code: Gson gson = new Gson(); Type type = new TypeToken<Map<String, ArrayList<Map<String, Object>>>>() {}.getType(); Map<String, ArrayList<Map<String, Object>>> data = gson.fromJson(reader, type); Map<String, Object> map = … Read more