Package com.github.wnameless.json.base
Interface JsonValueBase<JV extends JsonValueBase<?>>
-
- All Known Implementing Classes:
GsonJsonValue,JacksonJsonValue
public interface JsonValueBase<JV extends JsonValueBase<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JsonArrayBase<JV>asArray()booleanasBoolean()doubleasDouble()intasInt()longasLong()JsonObjectBase<JV>asObject()StringasString()booleanisArray()booleanisBoolean()booleanisNull()booleanisNumber()booleanisObject()booleanisString()
-
-
-
Method Detail
-
isObject
boolean isObject()
-
isArray
boolean isArray()
-
isNumber
boolean isNumber()
-
isString
boolean isString()
-
isBoolean
boolean isBoolean()
-
isNull
boolean isNull()
-
asObject
JsonObjectBase<JV> asObject()
-
asArray
JsonArrayBase<JV> asArray()
-
asInt
int asInt()
-
asLong
long asLong()
-
asDouble
double asDouble()
-
asString
String asString()
-
asBoolean
boolean asBoolean()
-
-