Package jsonvalues
Class JsNull
java.lang.Object
jsonvalues.JsPrimitive
jsonvalues.JsNull
- All Implemented Interfaces:
JsValue
Represents null. It's a singleton, only the instance
NULL
exists.-
Field Summary
Fields -
Method Summary
Methods inherited from class jsonvalues.JsPrimitive
isJson, isPrimitive
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jsonvalues.JsValue
ifNothing, ifNull, isArray, isArray, isBigDec, isBigDec, isBigInt, isBigInt, isBinary, isBool, isDecimal, isDouble, isDouble, isFalse, isInstant, isInstant, isInt, isInt, isIntegral, isJson, isLong, isLong, isNothing, isNotNothing, isNotNull, isNotNumber, isNumber, isObj, isObj, isSameType, isStr, isStr, isTrue, toJsArray, toJsBigDec, toJsBigInt, toJsBinary, toJsBool, toJsDouble, toJsInstant, toJsInt, toJsLong, toJsNumber, toJsObj, toJson, toJsStr
-
Field Details
-
NULL
The singleton null value.
-
-
Method Details
-
toJsPrimitive
Description copied from interface:JsValue
Returns this JsValue as a JsPrimitive.- Returns:
- This JsValue as a JsPrimitive.
-
isNull
public boolean isNull()Description copied from interface:JsValue
Returns true if this element is null.- Returns:
- True if this element is null.
-
hashCode
public int hashCode()Returns the hashcode of this JSON null -
equals
Returns true if that is the singletonNULL
. -
toString
-