String JSON = "http://www.json-generator.com/j/cglqaRcMSW?indent=4";
JSONObject jsonObject = new JSONObject(JSON);
JSONObject getSth = jsonObject.getJSONObject("get");
Object level = getSth.get("2");
System.out.println(level);
I referred many solutions for parsing this link, still getting the same error in question. Can any give me a simple solution for parsing it.

JSONObject. As an alternative, use a better JSON library, such as Jackson.str.charAt(0)and see what the first char is. It could be a[in that case its a json array. Or you might have a hidden char of some sort.