public abstract class JSONValue
extends java.lang.Object
JSONArray,
JSONBoolean,
JSONNumber,
JSONObject,
JSONString| Constructor and Description |
|---|
JSONValue()
Not subclassable outside this package.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract JavaScriptObject |
getUnwrapper()
Internal.
|
JSONArray |
isArray()
Returns a non-null reference if this JSONValue is really a JSONArray.
|
JSONBoolean |
isBoolean()
Returns a non-null reference if this JSONValue is really a JSONBoolean.
|
JSONNull |
isNull()
Returns a non-null reference if this JSONValue is really a JSONNull.
|
JSONNumber |
isNumber()
Returns a non-null reference if this JSONValue is really a JSONNumber.
|
JSONObject |
isObject()
Returns non-null if this JSONValue is really a JSONObject.
|
JSONString |
isString()
Returns a non-null reference if this JSONValue is really a JSONString.
|
abstract java.lang.String |
toString()
Returns a JSON-encoded string for this entity.
|
public JSONArray isArray()
null otherwise.public JSONBoolean isBoolean()
null otherwise.public JSONNull isNull()
null otherwise.public JSONNumber isNumber()
null otherwise.public JSONObject isObject()
null otherwise.public JSONString isString()
null otherwise.public abstract java.lang.String toString()
toString in class java.lang.Objectabstract JavaScriptObject getUnwrapper()