Package me.lauriichan.laylib.json
Interface IJsonNumber<V extends Number>
- All Superinterfaces:
IJson<V>
- All Known Implementing Classes:
JsonBigDecimal,JsonBigInteger,JsonByte,JsonDouble,JsonFloat,JsonInteger,JsonLong,JsonShort
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyteasByte()doubleasDouble()floatasFloat()intasInt()default JsonBigDecimaldefault JsonBigIntegerdefault JsonBytedefault JsonDoubledefault JsonFloatdefault JsonIntegerdefault JsonLongdefault JsonShortlongasLong()shortasShort()Methods inherited from interface me.lauriichan.laylib.json.IJson
as, asJsonArray, asJsonBoolean, asJsonNull, asJsonNumber, asJsonObject, asJsonString, isArray, isBoolean, isJson, isNull, isNumber, isObject, isPrimitive, isString, type, value
-
Method Details
-
asJsonByte
-
asByte
byte asByte() -
asJsonShort
-
asShort
short asShort() -
asJsonInteger
-
asInt
int asInt() -
asJsonLong
-
asLong
long asLong() -
asJsonBigInteger
-
asBigInteger
BigInteger asBigInteger() -
asJsonFloat
-
asFloat
float asFloat() -
asJsonDouble
-
asDouble
double asDouble() -
asJsonBigDecimal
-
asBigDecimal
BigDecimal asBigDecimal()
-