public abstract class JSONValue extends Object
JSONArray
,
JSONBoolean
,
JSONNumber
,
JSONObject
,
JSONString
Modifier and Type | Method and Description |
---|---|
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 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.Copyright © 2018. All rights reserved.