Class JsonNull
- java.lang.Object
-
- com.alachisoft.ncache.runtime.JSON.JsonValueBase
-
- com.alachisoft.ncache.runtime.JSON.JsonNull
-
- All Implemented Interfaces:
java.io.Serializable
public final class JsonNull extends JsonValueBase implements java.io.Serializable
Represents NULL value in JSON standards- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonNull()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Checks if the obj is equal to JSONNull object.java.lang.String
toJson()
Gets the string representation of the JsonValueBase.java.lang.String
toString()
String representation of JSON Null object.-
Methods inherited from class com.alachisoft.ncache.runtime.JSON.JsonValueBase
getDataType, getInMemorySize, getSize, getValue, parse
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
String representation of JSON Null object.- Overrides:
toString
in classjava.lang.Object
- Returns:
- The string representation of json null.
-
toJson
public java.lang.String toJson()
Gets the string representation of the JsonValueBase.- Overrides:
toJson
in classJsonValueBase
- Returns:
- The string representation of the JsonValueBase.
-
equals
public boolean equals(java.lang.Object obj)
Checks if the obj is equal to JSONNull object.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
- Object to be compared.- Returns:
- True if obj is JSONNull otherwise false.
-
-