mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 19:05:34 +01:00
Add isNull() to JSONArray and JSONObject reference
This commit is contained in:
@@ -1047,6 +1047,7 @@ public class JSONArray {
|
||||
|
||||
/**
|
||||
* Determine if the value is null.
|
||||
* @webref
|
||||
* @param index must be between 0 and length() - 1
|
||||
* @return true if the value at the index is null, or if there is no value.
|
||||
*/
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user