title: A JSONObject text must begin with '{' at 1 [character 2 line 1] with '{' error
body: <pre><code>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);
  </code></pre>
  
  <p>I referred many solutions for parsing <a href="http://www.json-generator.com/j/cglqaRcMSW?indent=4" rel="noreferrer">this link</a>, still getting the same error in question.
  Can any give me a simple solution for parsing it.</p>