stackoverflow member i need some help from you.
I am having a JsonObject given below
{ \"Id\": null, \"Name\": \"New Task\", \"StartDate\": \"2010-03
For anyone using org.json.JSONObject in 2020, if you have {"key":null}
Check the value of the key by JSONObject.NULL
JSONObject json = new JSONObject("{"key":null}"); Object value = json.get("key"); if (value == JSONObject.NULL){ ... }