title: How to parse JSON structured-JSON Array Object in Java
body: <p>i'm trying to parse this JSON code</p>
  
  <pre><code>{
    "resultCode":"350",
    "message":"OK",
    "result":1,
    "data":
  {
      "totalCount":"2",
      "videos":[
        {
          "videoId":"73bfedf534",
          "VideoUrl":"www.videourlexample.com",
          "title":"vbsample1",
          "description":""
        },
  
  {
          "videoId":"73bfedf534",
          "VideoUrl":"www.videourlexample.com",
          "title":"vbsample2",
          "description":""
        }
      ]
    }
  }
  </code></pre>
  
  <p>I was able to parse only this.</p>
  
  <pre><code>"resultCode":"350",
  "message":"OK",
  "result":1,
  </code></pre>
  
  <p>this is the java code</p>
  
  <pre><code>JSONObject jsonObject = (JSONObject)  
  //return the JSON code above.
  jsonParser.parse(getHTML("...httpRequest..."));
  
      // get a String from the JSON object
      String resultCode = (String) jsonObject.get("resultCode");
      System.out.println("[RESULTCODE] The message is: " + resultCode);
  
  
      // get a String from the JSON object
      String message = (String) jsonObject.get("message");
      System.out.println("[MESSAGE] The message is: " + message);
  
      // get a number from the JSON object
      long result =  (long) jsonObject.get("result");
      System.out.println("[RESULT] The resultCode is: " + result);
  </code></pre>
  
  <p>I can't parse the "data". Someone can help me?
  I would like to take each value from the json array separately... like resultCode, message and result.</p>
  
  <p>Thank you.</p>