title: Read Json in android
body: <pre><code>{"721xxxxxxx":true,"722xxxxxxx":true,"723xxxxxxx":true}
  </code></pre>
  
  <p>How can i read all the keys in the json and how can count all the data in the Jsonarray </p>
  
  <p>My code--></p>
  
  <pre><code>String members = s;
  /* s contain {"721xxxxxxx":true,"722xxxxxxx":true,"723xxxxxxx":true} */
  JSONArray jsonChildArr = new JSONArray(members);
  
  Log.e("Error","Data in jsonArray---&gt;"+jsonChildArr.length());
  </code></pre>