title: Parsing JSON Array Children properties in android
body: <p>Here is the ASP .net code for Extracting a JSON Array:</p>
  
  <pre><code>{
  "Attendance": {
  "FirstName": "Test1"
  "InTime": "12:32:00"
  "LastName": "User"
  "OutTime": "12:38:11"
  }
  {
  "FirstName": "Test2"
  "InTime": "12:26:59"
  "LastName": "User"
  "OutTime": "12:38:19"
  }
  
  }
  
  
  
   JObject o = JObject.Parse(jsonString);
          JArray arr = (JArray)o.SelectToken("Attendance");
  
          foreach (JObject b in arr.Children&lt;JObject&gt;())
          {
              foreach (JProperty p in b.Properties())
              {
                  string name = p.Name;
                  string value = p.Value.ToString();
                  //  Console.WriteLine(name + ": " + value);
                  System.Diagnostics.Debug.WriteLine("" + name + ": " + value);
              }
          }
  </code></pre>
  
  <p>Above Code will extract its Name and Value Instead of passing Name and returning Value which we do using JSONOBJECT.</p>
  
  <pre><code>// System.Diagnostics.Debug.WriteLine("" + name + ": " + value);
  FirstName: Test1
  InTime: 12:32:00
  LastName: User
  OutTime: 12:38:11
  FirstName: Test2
  InTime: 12:26:59
  LastName: User
  OutTime: 12:38:19
  </code></pre>
  
  <p>How can I achieve same functionality in Android ?</p>