Add isNull() to JSONArray and JSONObject reference

This commit is contained in:
REAS
2015-11-09 16:50:42 -08:00
parent 63b8689d42
commit 3e985c2b0f
2 changed files with 6 additions and 3 deletions

View File

@@ -592,7 +592,7 @@ public class JSONObject {
*
* @webref jsonobject:method
* @brief Gets the int value associated with a key
* @param key a key string
* @param key A key string.
* @return The integer value.
* @throws JSONException if the key is not found or if the value cannot
* be converted to an integer.
@@ -900,8 +900,10 @@ public class JSONObject {
/**
* Determine if the value associated with the key is null or if there is
* no value.
* Determine if the value associated with the key is null or if there is
* no value.
*
* @webref
* @param key A key string.
* @return true if there is no value associated with the key or if
* the value is the JSONObject.NULL object.