|
EZ JSON by Nathanaël Cottin |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of JSONValue in org.ezjson |
---|
Subinterfaces of JSONValue in org.ezjson | |
---|---|
interface |
JSONNumber
Represents a JSON number, according the JSON specification. |
Classes in org.ezjson that implement JSONValue | |
---|---|
class |
JSONArray
A JSON array is able to hold an ordered collection of JSON values, independently from their actual type. |
class |
JSONBoolean
A JSON boolean represents a boolean value. |
class |
JSONInteger
A JSON integer is a kind of JSON number which holds an integer value. |
class |
JSONObject
A JSON object is a (possibly empty) set of name/value pairs. |
class |
JSONReal
A JSON real is a kind of JSON number which holds a real value. |
class |
JSONString
A JSON string which conforms to the JSON specification |
Methods in org.ezjson that return JSONValue | |
---|---|
JSONValue |
JSONObject.get(java.lang.String name)
|
JSONValue |
JSONObject.put(java.lang.String name,
JSONValue value)
Adds a name/value pair to this JSON object. |
Methods in org.ezjson that return types with arguments of type JSONValue | |
---|---|
java.util.Collection<JSONValue> |
JSONArray.getValues()
Gets the current collection of values this array holds |
java.util.Iterator<JSONValue> |
JSONArray.iterator()
|
Methods in org.ezjson with parameters of type JSONValue | |
---|---|
void |
JSONArray.add(JSONValue value)
Ensures that this JSON array contains the specified value |
static JSONBoolean |
JSONDecoder.getAsBoolean(JSONValue value)
Attempts to get a JSON boolean from any JSON value (usually a JSON string) when the actual type of this JSON value is unknown. |
static JSONInteger |
JSONDecoder.getAsInteger(JSONValue value)
Attempts to get a JSON integer from any JSON value (usually a JSON string) when the actual type of this JSON value is unknown. |
static JSONNumber |
JSONDecoder.getAsNumber(JSONValue value)
Attempts to get a JSON number from any JSON value (usually a JSON string) when the actual type of this JSON value is unknown. |
static JSONReal |
JSONDecoder.getAsReal(JSONValue value)
Attempts to get a JSON real from any JSON value (usually a JSON string or a JSON integer) when the actual type of this JSON value is unknown. |
JSONValue |
JSONObject.put(java.lang.String name,
JSONValue value)
Adds a name/value pair to this JSON object. |
|
EZ JSON by Nathanaël Cottin |
|||||||||
PREV NEXT | FRAMES NO FRAMES |