Is there an easy way to map data from JSON to fields of my class by means of android APIs?
JSON:
{ email: \'email\', password: \'pass\' }
I suppose you have more than one Credential u want to get...
with the org.json package you could use a JSONArray to get various values at the same time out of one JSON file.