Solution 1:
You might use the JSONObject
function has
:
if(myJSONObject.has("UnpublishDate")) {
//it has it, do appropriate processing
}
You might use the JSONObject
function has
:
if(myJSONObject.has("UnpublishDate")) {
//it has it, do appropriate processing
}