title: Reading JSON child object
body: <p>I have the following JSON Content:</p>
  
  <pre><code>{
      "query": {
          "pages": {
              "7931046": {
                  "pageid": 7931046,
                  "ns": 0,
                  "title": "Tang Aidi",
                  "revisions": [
                      {
                          "contentformat": "text/x-wiki",
                          "contentmodel": "wikitext",
                          "*": "SOME TEXT"
                      }
                  ]
              }
          }
      }
  }
  </code></pre>
  
  <p>I try to read the "SOME TEXT" String from it.</p>
  
  <p>I am stuck already when trying to read the "pages" object. I guess it should be a JSONObject but it throws me </p>
  
  <pre><code>JSONObject["pages"] not found
  </code></pre>
  
  <p>with following code:</p>
  
  <pre><code>            JSONObject obj = new JSONObject(sEntireContent);
              JSONObject oParse=(JSONObject) obj.get("query");
              //JSONArray oPages=oParse.getJSONArray("pages");
  &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;  JSONObject oPages=(JSONObject) obj.get("pages");
              JSONObject firstPage=(JSONObject) oPages.get(0);
              JSONObject oRevisions=(JSONObject) firstPage.get("revisions");
              sWikitext=oRevisions.getString ("*");
  </code></pre>
  
  <p>I then firther don't know how to read a childobject, from which I don't know the name. In my example the "7931046" is a random/sequence number</p>