Creating array lists using Json object file in android
<p>Please check out my following code</p>

<pre><code>String jsonString = writer.toString();
        JSONObject jsonObj = new JSONObject(jsonString); 
        defaultCurrencyValue = jsonObj.getString(DefaultCurrencyKey);
        currenciesTypes = jsonObj.get(CurrenciesKey);
</code></pre>

<p>This is what i get the values of curenciesType object class variable when i used Debugger</p>

<pre><code>currenciesTypes JSONObject  (id=830084916104)   
    myHashMap   HashMap  (id=830084916120)  
        [0] HashMap$HashMapEntry  (id=830084916440) 
            key "PKR" (id=830084916256) 
            value   "Rs" (id=830084916368)  
        [1] HashMap$HashMapEntry  (id=830084917208) 
            key "EUR" (id=830084917064) 
            value   "€" (id=830084917176)   
        [2] HashMap$HashMapEntry  (id=830084916696) 
        [3] HashMap$HashMapEntry  (id=830084916952) 
</code></pre>

<p>Please anyone can tell me how can i save  <code>key</code> and its <code>values</code> in two array lists?</p>

<p>Best Regards</p>
