java.io.Serializable
JsonArray
, JsonNull
, JsonObject
, JsonValue
public abstract class JsonValueBase
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
JsonDataType |
getDataType() |
Gets the type of the json object.
|
java.lang.Object |
getValue() |
Gets the value of the json object.
|
static JsonValueBase |
parse(java.lang.String json) |
Parses string representation of json object and returns the parsed object.
|
java.lang.String |
toJson() |
Gets the string representation of the JsonValueBase.
|
public JsonDataType getDataType()
public java.lang.Object getValue()
public static JsonValueBase parse(java.lang.String json)
json
- The json string.public java.lang.String toJson()