public class JSON
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValue() |
double |
doubleValue() |
JSON |
get(int index) |
JSON |
get(java.lang.String key) |
int |
intValue() |
boolean |
isArray() |
boolean |
isBoolean() |
boolean |
isNull() |
boolean |
isNumber() |
boolean |
isObject() |
boolean |
isString() |
boolean |
isUndefined() |
java.util.Set<java.lang.String> |
keySet() |
long |
longValue() |
static JSON |
parse(java.lang.String text) |
static java.lang.String |
stringify(java.lang.Object obj) |
JSON[] |
toArray() |
java.lang.String |
toString() |
public JSON get(java.lang.String key) throws JSONException
JSONException
public java.util.Set<java.lang.String> keySet() throws JSONException
JSONException
public JSON get(int index) throws JSONException
JSONException
public JSON[] toArray() throws JSONException
JSONException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean booleanValue()
public int intValue() throws JSONException
JSONException
public long longValue() throws JSONException
JSONException
public double doubleValue() throws JSONException
JSONException
public boolean isUndefined()
public boolean isNull()
public boolean isBoolean()
public boolean isString()
public boolean isNumber()
public boolean isObject()
public boolean isArray()
public static JSON parse(java.lang.String text) throws JSONException
JSONException
public static java.lang.String stringify(java.lang.Object obj) throws JSONException
JSONException