We are using Json to retrieve value of a field from Json object but when field has no value it gives an error. For example from Blackboard LMS we can retrieve value of email field from JSON object with this code:
first.getJSONObject(i).getJSONObject(“contact”).getString(“email”))
And if Read more…