com.stimulsoft.base.json
Class JSONObject.Null
java.lang.Object
com.stimulsoft.base.json.JSONObject.Null
- Enclosing class:
- JSONObject
public static final class JSONObject.Null
- extends java.lang.Object
JSONObject.NULL is equivalent to the value that JavaScript calls null, whilst Java's null is
equivalent to the value that JavaScript calls undefined.
Method Summary |
boolean |
equals(java.lang.Object object)
A Null object is equal to the null value and to itself. |
java.lang.String |
toString()
Get the "null" string value. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
JSONObject.Null
public JSONObject.Null()
equals
public boolean equals(java.lang.Object object)
- A Null object is equal to the null value and to itself.
- Overrides:
equals
in class java.lang.Object
- Parameters:
object
- An object to test for nullness.
- Returns:
- true if the object parameter is the JSONObject.NULL object or null.
toString
public java.lang.String toString()
- Get the "null" string value.
- Overrides:
toString
in class java.lang.Object
- Returns:
- The string "null".