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.
|
static int |
TYPE_ID |
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.
|
int |
id() |
boolean |
isNothing()
Returns true if this element is JsNothing
|
JsPrimitive |
toJsPrimitive() |
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 int TYPE_ID
public static final JsNothing NOTHING
public JsPrimitive toJsPrimitive()
toJsPrimitive
in interface JsValue
public boolean isNothing()
JsValue
public int hashCode()
Copyright © 2022. All rights reserved.