Modifier and Type | Method and Description |
---|---|
boolean |
getAsBoolean() |
double |
getAsDouble() |
float |
getAsFloat() |
int |
getAsInt() |
long |
getAsLong() |
short |
getAsShort() |
String |
getAsString() |
boolean |
isBoolean() |
boolean |
isNumber() |
boolean |
isString() |
default boolean |
isValue() |
default boolean isValue()
isValue
in interface JsonNode
JsonNode
is an instance of JsonPrimitive
.boolean isBoolean()
JsonPrimitive
represents a boolean.boolean getAsBoolean()
JsonPrimitive
.boolean isNumber()
JsonPrimitive
represents a number.double getAsDouble()
JsonPrimitive
.float getAsFloat()
JsonPrimitive
.int getAsInt()
JsonPrimitive
.long getAsLong()
JsonPrimitive
.short getAsShort()
JsonPrimitive
.boolean isString()
JsonPrimitive
represents a number.String getAsString()
JsonPrimitive
.Copyright © 2021 Microsoft Corporation. All rights reserved.