A E G H I J K L N O P Q R T

A

accumulate(String, Object) - Method in class org.apache.tapestry5.json.JSONObject
Accumulate values under a key.
append(String, Object) - Method in class org.apache.tapestry5.json.JSONObject
Append values to the array under a key.

E

equals(Object) - Method in class org.apache.tapestry5.json.JSONArray
 
equals(Object) - Method in class org.apache.tapestry5.json.JSONObject
Returns true if the other object is a JSONObject and its set of properties matches this object's properties.

G

get(int) - Method in class org.apache.tapestry5.json.JSONArray
Get the object value associated with an index.
get(String) - Method in class org.apache.tapestry5.json.JSONObject
Get the value object associated with a key.
getBoolean(int) - Method in class org.apache.tapestry5.json.JSONArray
Get the boolean value associated with an index.
getBoolean(String) - Method in class org.apache.tapestry5.json.JSONObject
Get the boolean value associated with a key.
getDouble(int) - Method in class org.apache.tapestry5.json.JSONArray
Get the double value associated with an index.
getDouble(String) - Method in class org.apache.tapestry5.json.JSONObject
Get the double value associated with a key.
getInt(int) - Method in class org.apache.tapestry5.json.JSONArray
Get the int value associated with an index.
getInt(String) - Method in class org.apache.tapestry5.json.JSONObject
Get the int value associated with a key.
getJSONArray(int) - Method in class org.apache.tapestry5.json.JSONArray
Get the JSONArray associated with an index.
getJSONArray(String) - Method in class org.apache.tapestry5.json.JSONObject
Get the JSONArray value associated with a key.
getJSONObject(int) - Method in class org.apache.tapestry5.json.JSONArray
Get the JSONObject associated with an index.
getJSONObject(String) - Method in class org.apache.tapestry5.json.JSONObject
Get the JSONObject value associated with a key.
getLong(int) - Method in class org.apache.tapestry5.json.JSONArray
Get the long value associated with an index.
getLong(String) - Method in class org.apache.tapestry5.json.JSONObject
Get the long value associated with a key.
getString(int) - Method in class org.apache.tapestry5.json.JSONArray
Get the string associated with an index.
getString(String) - Method in class org.apache.tapestry5.json.JSONObject
Get the string associated with a key.

H

has(String) - Method in class org.apache.tapestry5.json.JSONObject
Determine if the JSONObject contains a specific key.

I

isNull(int) - Method in class org.apache.tapestry5.json.JSONArray
Determine if the value is null.
isNull(String) - Method in class org.apache.tapestry5.json.JSONObject
Determine if the value associated with the key is null or if there is no value.
iterator() - Method in class org.apache.tapestry5.json.JSONArray
 

J

JSONArray - Class in org.apache.tapestry5.json
A JSONArray is an ordered sequence of values.
JSONArray() - Constructor for class org.apache.tapestry5.json.JSONArray
Construct an empty JSONArray.
JSONArray(String) - Constructor for class org.apache.tapestry5.json.JSONArray
 
JSONArray(Object...) - Constructor for class org.apache.tapestry5.json.JSONArray
 
JSONCollection - Class in org.apache.tapestry5.json
Base class for JSONArray and JSONObject that exists to organize the code for printing such objects (either compact or pretty).
JSONCollection() - Constructor for class org.apache.tapestry5.json.JSONCollection
 
JSONLiteral - Class in org.apache.tapestry5.json
A way of including some text (often, text that violates the normal JSON specification) as part of a JSON object or array.
JSONLiteral(String) - Constructor for class org.apache.tapestry5.json.JSONLiteral
 
JSONObject - Class in org.apache.tapestry5.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject() - Constructor for class org.apache.tapestry5.json.JSONObject
Construct an empty JSONObject.
JSONObject(String...) - Constructor for class org.apache.tapestry5.json.JSONObject
Constructs a new JSONObject using a series of String keys and values.
JSONObject(JSONObject, String...) - Constructor for class org.apache.tapestry5.json.JSONObject
Construct a JSONObject from a subset of another JSONObject.
JSONObject(String) - Constructor for class org.apache.tapestry5.json.JSONObject
Construct a JSONObject from a string.
JSONString - Interface in org.apache.tapestry5.json
An interface that allows an object to be stored as a JSONObject or JSONArray value.

K

keys() - Method in class org.apache.tapestry5.json.JSONObject
Get an enumeration of the keys of the JSONObject.

L

length() - Method in class org.apache.tapestry5.json.JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in class org.apache.tapestry5.json.JSONObject
Get the number of keys stored in the JSONObject.

N

names() - Method in class org.apache.tapestry5.json.JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
NULL - Static variable in class org.apache.tapestry5.json.JSONObject
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.

O

opt(String) - Method in class org.apache.tapestry5.json.JSONObject
Get an optional value associated with a key.
org.apache.tapestry5.json - package org.apache.tapestry5.json
 

P

prettyPrint(PrintWriter) - Method in class org.apache.tapestry5.json.JSONCollection
Prints the JSONObject to the writer using indentation (two spaces per indentation level).
print(PrintWriter, boolean) - Method in class org.apache.tapestry5.json.JSONCollection
Prints the JSONObject to the write (compactly or not).
print(PrintWriter) - Method in class org.apache.tapestry5.json.JSONCollection
Prints the JSONObject to the writer compactly (with no extra whitespace).
put(Object) - Method in class org.apache.tapestry5.json.JSONArray
Append an object value.
put(int, Object) - Method in class org.apache.tapestry5.json.JSONArray
Put or replace an object value in the JSONArray.
put(String, Object) - Method in class org.apache.tapestry5.json.JSONObject
Put a key/value pair in the JSONObject.

Q

quote(String) - Static method in class org.apache.tapestry5.json.JSONObject
Produce a string in double quotes with backslash sequences in all the right places.

R

remove(String) - Method in class org.apache.tapestry5.json.JSONObject
Remove a name and its value, if present.

T

toCompactString() - Method in class org.apache.tapestry5.json.JSONCollection
Prints the JSONObject as a compact string (not extra punctuation).
toJSONString() - Method in class org.apache.tapestry5.json.JSONLiteral
 
toJSONString() - Method in interface org.apache.tapestry5.json.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
toString() - Method in class org.apache.tapestry5.json.JSONCollection
Converts this JSON collection into a parsable string representation.
toString(boolean) - Method in class org.apache.tapestry5.json.JSONCollection
Converts the JSONObject to a compact or pretty-print string representation
toString() - Method in class org.apache.tapestry5.json.JSONLiteral
Returns the text property; this is also the value placed into the JSON string (unquoted, exactly as is).

A E G H I J K L N O P Q R T

Copyright © 2010-2011 Apache Software Foundation. All Rights Reserved.