I have an array of JSON objects. To parse these arrays and store the simply data type values, I have to make assumptions of the key names and store them accordingly.
I also know that sometimes the key's values will be null. example
JSONObject.optString(String key) or
optString(String key, String default).
Edit: ... or
isNull(String key), of course :)