SyntaxFix
Write A Post
Hire A Developer
Questions
While iterating over a JSON array (org.json.JSONArray, built into Android), watch out for null objects; for example, you may get "null" instead of a null string.
"null"
A check may look like:
s[i] = array.isNull(i) ? null : array.getString(i);