1// JSONObject class has a method named "has":
2// http://developer.android.com/reference/org/json/JSONObject.html#has(java.lang.String)
3// Returns true if this object has a mapping for name. The mapping may be NULL.
4if (json.has("status")) {
5 String status = json.getString("status"));
6}
7
8if (json.has("club")) {
9 String club = json.getString("club"));
10}