Check if key exists in jsonobject before fetching value for that key ?
When you deal with json object you may want to check whether key exists in the jsonobject before fetching value for that key. We can easily check using Google gson JsonObject has() method. has() method – Class JsonObject This is… Read More!