Package jsonvalues
Class JsPrimitive
- java.lang.Object
-
- jsonvalues.JsPrimitive
-
-
Constructor Summary
Constructors Constructor Description JsPrimitive()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isJson()
Returns true if this JsValue is a Json (JsObj or JsArray)boolean
isPrimitive()
Returns true if this JsValue is a not a Json (neither JsObj nor JsArray)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jsonvalues.JsValue
id, 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, isNull, isNumber, isObj, isObj, isSameType, isStr, isStr, isTrue, toJsArray, toJsBigDec, toJsBigInt, toJsBinary, toJsBool, toJsDouble, toJsInstant, toJsInt, toJsLong, toJsNumber, toJsObj, toJson, toJsPrimitive, toJsStr
-
-
-
-
Method Detail
-
isPrimitive
public boolean isPrimitive()
Description copied from interface:JsValue
Returns true if this JsValue is a not a Json (neither JsObj nor JsArray)- Specified by:
isPrimitive
in interfaceJsValue
- Returns:
- true if this JsValue is a not a Json (neither JsObj nor JsArray)
-
-