Better way to determine if value exists in JSON feed

Solution 1:

You might use the JSONObject function has:

if(myJSONObject.has("UnpublishDate")) {
    //it has it, do appropriate processing
}