public abstract class JSONValue
extends java.lang.Object
| Constructor and Description |
|---|
JSONValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isArray()
Get a boolean indicating whether this instance represents an JSON array value or not.
|
boolean |
isBoolean()
Get a boolean indicating whether this instance represents a JSON boolean value or not.
|
boolean |
isNull()
Get a boolean indicating whether this instance represents a JSON null value or not.
|
boolean |
isNumber()
Get a boolean indicating whether this instance represents a JSON numeric value or not.
|
boolean |
isObject()
Get a boolean indicating whether this instance represents an JSON object value or not.
|
boolean |
isString()
Get a boolean indicating whether this instance represents a JSON string value or not.
|
public boolean isNull()
true for objects representing a null value, false otherwise.public boolean isBoolean()
true for objects representing a boolean value, false otherwise.public boolean isNumber()
true for objects representing a numeric value, false otherwise.public boolean isString()
true for objects representing a string value, false otherwise.public boolean isArray()
true for objects representing an array value, false otherwise.public boolean isObject()
true for objects representing an object value, false otherwise.