public final class JsNothing extends Object implements JsValue
Json.get(JsPath)
,
return nothing when no element is found, what makes them total on the input path.Modifier and Type | Field and Description |
---|---|
static JsNothing |
NOTHING
The singleton nothing value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that)
Returns true if that is the singleton
NOTHING . |
int |
hashCode()
Returns the hashcode of this JsNothing.
|
boolean |
isNothing()
Returns true if this element is JsNothing.
|
JsPrimitive |
toJsPrimitive()
Returns this JsValue as a JsPrimitive.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
ifNothing, ifNull, isArray, isArray, isBigDec, isBigDec, isBigInt, isBigInt, isBinary, isBool, isDecimal, isDouble, isDouble, isFalse, isInstant, isInstant, isInt, isInt, isIntegral, isJson, isJson, isLong, isLong, isNotNothing, isNotNull, isNotNumber, isNull, isNumber, isObj, isObj, isPrimitive, isSameType, isStr, isStr, isTrue, toJsArray, toJsBigDec, toJsBigInt, toJsBinary, toJsBool, toJsDouble, toJsInstant, toJsInt, toJsLong, toJsNumber, toJsObj, toJson, toJsStr
public static final JsNothing NOTHING
public JsPrimitive toJsPrimitive()
JsValue
toJsPrimitive
in interface JsValue
public boolean isNothing()
JsValue
public int hashCode()
Copyright © 2023. All rights reserved.