Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>response </p> <pre><code>JSONObject JObject = new JSONObject(response); String getting_data = JObject.getstring("getting data"); String Todays= JObject.getstring("Todays"); JsonArray results =JObject.getjsonarray("results"); for(int i = 0 ; i &lt; results.length(); i++){ JsonObject resultsobject =results.getjsonobject(i); JsonArray worldpopulation =resultsobject.getjsonarray("worldpopulation"); for(int j = 0 ; j &lt; worldpopulation.length(); j++){ JsonObject worldpopulationobject =worldpopulation.getjsonobject(j); JsonObject emptyobject =worldpopulationobject.getjsonobject(""); String rank=emptyobject .getstring("rank"); String population=emptyobject .getstring("population"); JsonArray flagarray =countrypulation.getjsonarray(flag); for(int n = 0 ; n &lt; flagarray.length(); n++){ JsonObject flagarrayobject =flag1array.getjsonobject(n); String flag=flag1arrayobject .getstring("flag"); } JsonObject populationobject =worldpopulationobject.getjsonobject("population"); JsonArray emptyarray =JObject.getjsonarray(""); for(int k = 0 ; k &lt; emptyarray.length(); k++){ JsonObject emptyarrayobject =emptyarray.getjsonobject(k); JsonObject countrypulation=emptyarrayobject.getjsonobject("countrypulation"); String rank1=countrypulation .getstring("rank"); String country=countrypulation .getstring("country"); String population1=countrypulation .getstring("population"); JsonArray flag1array =countrypulation.getjsonarray(flag); for(int m = 0 ; m &lt; flag1array.length(); m++){ JsonObject flag1arrayobject =flag1array.getjsonobject(m); String flag1=flag1arrayobject .getstring("flag"); } } } } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload