title: Get data from firebase realtime database in android
body: <p>I am trying to get data from firebase realtime database in android. I have created a json data file and imported the json file in firebase database. The data file looks like this :</p>
  
  <pre><code>{
      "data": [
          {
          "name" : "one",
          "age" : "ten"
          },{
          "name" : "two",
          "age" : "twenty"
          }
      ]
  }
  </code></pre>
  
  <p>I have created a POJO class. Now how can I get all the json objects from the array? I've searched for a while but can't understand what will be the reference &amp; child here.</p>