Class JSONObject.Null
java.lang.Object
org.json.JSONObject.Null
- Enclosing class:
JSONObject
JSONObject.NULL is equivalent to the value that JavaScript calls null,
whilst Java's null is equivalent to the value that JavaScript calls
undefined.
- Version:
- 2016-08-15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Objectclone()There is only intended to be a single instance of the NULL object, so the clone method returns itself.booleanA Null object is equal to the null value and to itself.inthashCode()A Null object is equal to the null value and to itself.toString()Get the "null" string value.
-
Constructor Details
-
Null
private Null()
-
-
Method Details
-
clone
-
equals
-
hashCode
-
toString
-