I'm developing an android application where I'm reading results from an online database to a string of this form:
{"success":1,"innerResult":[{"username":"raafat","password":"123"}]}
I need to be able to read only the username and password values even when I have more than one result. For example i need an array of usernames returned and another array of passwords.
I tried splitting the string but it's confusing when you have many entries.