Andoird get Index 1 out of range on parse json format : i'm trying to parse this below json format such as:

    [
        [
            {
                "mobileNumber":"(937) 107-6569","contactUserId":"17",
                "userEwallets":
                [
                    {"accountNumber":"EPIRR9371076569"},
                    {"accountNumber":"EPUSD9371076569"},
                    {"accountNumber":"EPCHF9371076569"}
                ]
            }
        ]
    ,
        [
            {
                "mobileNumber":"+981077331743","contactUserId":"1",
                "userEwallets":
                [
                    {"accountNumber":"EPIRR1077331743"}
                ]
            }
        ]
    ]

for parsing second json array of that as 

    [
        {
            "mobileNumber":"+981077331743","contactUserId":"1",
            "userEwallets":
            [
                {"accountNumber":"EPIRR1077331743"}
            ]
        }
    ]
i get this error:

    Index 1 out of range [0..1)

from below code my code can only parse the first array of that, for second array i get exception when i try to get `mobileNumber` of second json array object

    for (int i = 0; i < response.length(); i++) {
        try {
            JSONArray   jsonArray    = response.getJSONArray(i);
            final String mobileNumber  = jsonArray.getJSONObject(i).getString("mobileNumber");
            final String contactUserId = jsonArray.getJSONObject(i).getString("contactUserId");
            final String userEwallets  = jsonArray.getJSONObject(i).getString("userEwallets");

            Log.e("MobileNumber ", mobileNumber);
            
            JSONArray ewallets = new JSONArray(userEwallets);
            for (int j = 0; j < ewallets.length(); j++) {
                JSONObject   ewalletObject        = ewallets.getJSONObject(j);
                final String accountNumber = ewalletObject.getString("accountNumber");

                Log.e("accountNumber ", accountNumber);
                
            }
        } catch (JSONException e) {
            e.printStackTrace();
        }
    }

