Index

A B C D E F G H I J K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accumulate(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Accumulate values under a key.
addProperty(Property) - Method in class org.apache.sling.commons.json.jcr.JsonJcrNode
Deprecated.
 
addValue(String, Value) - Method in class org.apache.sling.commons.json.jcr.JsonJcrNode
Deprecated.
 
AMP - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
The Character '&'.
APOS - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
The Character '''.
append(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Append values to the array under a key.
array() - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Begin appending a new array.

B

back() - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Back up one character.
BANG - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
The Character '!'.

C

CDL - Class in org.apache.sling.commons.json.util
Deprecated.
CDL() - Constructor for class org.apache.sling.commons.json.util.CDL
Deprecated.
Constructs a new CDL object.
clear() - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Removes all of the elements from this JSONArray.
clear() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Removes all of the elements from this JSONObject.
clone() - Method in class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
Provides a new instance of the same configuration.
close() - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Closes the underlying reader, releasing any resources associated with it.
collectResources() - Method in class org.apache.sling.commons.json.sling.ResourceTraversor
Deprecated.
Recursive descent from startResource, collecting JSONObjects into startObject.
Cookie - Class in org.apache.sling.commons.json.http
Deprecated.
Cookie() - Constructor for class org.apache.sling.commons.json.http.Cookie
Deprecated.
Constructs a new Cookie object.
CookieList - Class in org.apache.sling.commons.json.http
Deprecated.
CookieList() - Constructor for class org.apache.sling.commons.json.http.CookieList
Deprecated.
Constructs a new CookieList object.
create(Resource, int) - Static method in class org.apache.sling.commons.json.sling.JsonObjectCreator
Deprecated.
Dump given resource in JSON, optionally recursing into its objects
CRLF - Static variable in class org.apache.sling.commons.json.http.HTTP
Deprecated.
Carriage return/line feed.

D

DATE_FORMAT_LOCALE - Static variable in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Used to format date values
DEFAULT_CHILD_NAME_KEY - Static variable in class org.apache.sling.commons.json.io.JSONRenderer.Options
Deprecated.
 
DEFAULT_CHILDREN_KEY - Static variable in class org.apache.sling.commons.json.io.JSONRenderer.Options
Deprecated.
 
DEFAULT_MAXIMUM_NESTING_DEPTH - Static variable in class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
The default maximum nesting depth when parsing a document.
dehexchar(char) - Static method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Get the hex value of a character (base16).
doubleToString(double) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Produce a string from a double.
doubleToString(double) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Produce a string from a double.
dump(NodeIterator, Writer) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Dump all Nodes of given NodeIterator in JSON
dump(Node, Writer, int) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Dump given node in JSON, optionally recursing into its child nodes
dump(Node, Writer, int, boolean) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
the tidy mode was removed from the json library
dump(Node, JSONWriter, int, int) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Dump given node in JSON, optionally recursing into its child nodes
dump(Property, Writer) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Dump given property in JSON
dumpSingleNode(Node, JSONWriter, int, int) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Dump a single node
dumpValue(JSONWriter, Value) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Writes the given value to the JSON writer.

E

ECMA_DATE_FORMAT - Static variable in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Used to format date values
end() - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Checks if the end of the input has been reached.
endArray() - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
End an array.
endObject() - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
End an object.
entity - Static variable in class org.apache.sling.commons.json.xml.XMLTokener
Deprecated.
The table of entity values.
Entry(Resource, JSONObject) - Constructor for class org.apache.sling.commons.json.sling.ResourceTraversor.Entry
Deprecated.
 
entrySet() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get a set of entries of the JSONObject.
EQ - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
The Character '='.
escape(String) - Static method in class org.apache.sling.commons.json.http.Cookie
Deprecated.
Produce a copy of a string in which the characters '+', '%', '=', ';' and control characters are replaced with "%hh".
escape(String) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Replace special characters with XML escapes:

F

format(Calendar) - Static method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
 

G

get(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the object value associated with an index.
get(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the value object associated with a key.
getBigDecimal(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the BigDecimal value associated with an index.
getBigDecimal(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the BigDecimal value associated with a key.
getBigInteger(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the BigInteger value associated with an index.
getBigInteger(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the BigInteger value associated with a key.
getBoolean(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the boolean value associated with an index.
getBoolean(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the boolean value associated with a key.
getCount() - Method in class org.apache.sling.commons.json.sling.ResourceTraversor
Deprecated.
 
getDouble(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the double value associated with an index.
getDouble(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the double value associated with a key.
getEnum(Class<E>, int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the enum value associated with an index.
getEnum(Class<E>, String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the enum value associated with a key.
getFloat(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the float value associated with a key.
getFloat(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the float value associated with a key.
getInt(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the int value associated with an index.
getInt(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the int value associated with a key.
getJSONArray(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the JSONArray associated with an index.
getJSONArray(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the JSONArray value associated with a key.
getJSONObject() - Method in class org.apache.sling.commons.json.sling.ResourceTraversor
Deprecated.
 
getJSONObject(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the JSONObject associated with an index.
getJSONObject(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the JSONObject value associated with a key.
getLong(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the long value associated with an index.
getLong(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the long value associated with a key.
getMapType() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Retrieves the type of the underlying Map in this class.
getMaxNestingDepth() - Method in class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
The maximum nesting depth that the parser will descend before throwing an exception when parsing the XML into JSONML.
getNames(Object) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an array of public field names from an Object.
getNames(JSONObject) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an array of field names from a JSONObject.
getNumber(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the Number value associated with a key.
getNumber(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the Number value associated with a key.
getPrevious() - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Get the last character read from the input or '\0' if nothing has been read yet.
getString(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the string associated with an index.
getString(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the string associated with a key.
GT - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
The Character

H

has(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Determine if the JSONObject contains a specific key.
HTTP - Class in org.apache.sling.commons.json.http
Deprecated.
HTTP() - Constructor for class org.apache.sling.commons.json.http.HTTP
Deprecated.
Constructs a new HTTP object.
HTTPTokener - Class in org.apache.sling.commons.json.http
Deprecated.
HTTPTokener(String) - Constructor for class org.apache.sling.commons.json.http.HTTPTokener
Deprecated.
Construct an HTTPTokener from a string.

I

increment(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Increment a property of a JSONObject.
isDecimalNotation(String) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Tests if the value should be tried as a decimal.
isEmpty() - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Check if JSONArray is empty.
isEmpty() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Check if JSONObject is empty.
isKeepStrings() - Method in class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
When parsing the XML into JSONML, specifies if values should be kept as strings (true), or if they should try to be guessed into JSON values (numeric, boolean, string)
isNull(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Determine if the value is null.
isNull(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Determine if the value associated with the key is null or if there is no value.
isTidy() - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
do not use, was removed from library and later stubbed
iterator() - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
 

J

join(String) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Make a string from the contents of this JSONArray.
join(JSONArray, String) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Make a string from the contents of this JSONArray.
json - Variable in class org.apache.sling.commons.json.sling.ResourceTraversor.Entry
Deprecated.
 
JSONArray - Class in org.apache.sling.commons.json
Deprecated.
JSONArray() - Constructor for class org.apache.sling.commons.json.JSONArray
Deprecated.
Construct an empty JSONArray.
JSONArray(int) - Constructor for class org.apache.sling.commons.json.JSONArray
Deprecated.
Construct a JSONArray with the specified initial capacity.
JSONArray(Iterable<?>) - Constructor for class org.apache.sling.commons.json.JSONArray
Deprecated.
Construct a JSONArray from an Iterable.
JSONArray(Object) - Constructor for class org.apache.sling.commons.json.JSONArray
Deprecated.
Construct a JSONArray from an array.
JSONArray(String) - Constructor for class org.apache.sling.commons.json.JSONArray
Deprecated.
Construct a JSONArray from a source JSON text.
JSONArray(Collection<?>) - Constructor for class org.apache.sling.commons.json.JSONArray
Deprecated.
Construct a JSONArray from a Collection.
JSONArray(Collection<?>, JSONParserConfiguration) - Constructor for class org.apache.sling.commons.json.JSONArray
Deprecated.
Construct a JSONArray from a Collection.
JSONArray(JSONArray) - Constructor for class org.apache.sling.commons.json.JSONArray
Deprecated.
Construct a JSONArray from another JSONArray.
JSONArray(JSONTokener) - Constructor for class org.apache.sling.commons.json.JSONArray
Deprecated.
Construct a JSONArray from a JSONTokener.
JSONException - Exception Class in org.apache.sling.commons.json
Deprecated.
JSONException(String) - Constructor for exception class org.apache.sling.commons.json.JSONException
Deprecated.
Constructs a JSONException with an explanatory message.
JSONException(String, Throwable) - Constructor for exception class org.apache.sling.commons.json.JSONException
Deprecated.
Constructs a JSONException with an explanatory message and cause.
JSONException(Throwable) - Constructor for exception class org.apache.sling.commons.json.JSONException
Deprecated.
Constructs a new JSONException with the specified cause.
JsonItemWriter - Class in org.apache.sling.commons.json.jcr
Deprecated.
JsonItemWriter(Set<String>) - Constructor for class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Create a JsonItemWriter
JsonJcrNode - Class in org.apache.sling.commons.json.jcr
Deprecated.
JsonJcrNode(Node) - Constructor for class org.apache.sling.commons.json.jcr.JsonJcrNode
Deprecated.
Creates a JSONObject out of node.
JsonJcrNode(Node, Set<String>) - Constructor for class org.apache.sling.commons.json.jcr.JsonJcrNode
Deprecated.
Creates a JSONObject out of node.
JSONObject - Class in org.apache.sling.commons.json
Deprecated.
JSONObject() - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Construct an empty JSONObject.
JSONObject(int) - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Constructor to specify an initial capacity of the internal map.
JSONObject(Object) - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Construct a JSONObject from an Object using bean getters.
JSONObject(Object, String...) - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Construct a JSONObject from an Object, using reflection to find the public members.
JSONObject(String) - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Construct a JSONObject from a source JSON text string.
JSONObject(String, Locale) - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Construct a JSONObject from a ResourceBundle.
JSONObject(Map<?, ?>) - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Construct a JSONObject from a Map.
JSONObject(Map<?, ?>, JSONParserConfiguration) - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Construct a JSONObject from a Map with custom json parse configurations.
JSONObject(JSONObject, String...) - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener) - Constructor for class org.apache.sling.commons.json.JSONObject
Deprecated.
Construct a JSONObject from a JSONTokener.
JsonObjectCreator - Class in org.apache.sling.commons.json.sling
Deprecated.
JsonObjectCreator() - Constructor for class org.apache.sling.commons.json.sling.JsonObjectCreator
Deprecated.
 
JSONPropertyIgnore - Annotation Type in org.apache.sling.commons.json
Deprecated.
JSONPropertyName - Annotation Type in org.apache.sling.commons.json
Deprecated.
JSONRenderer - Class in org.apache.sling.commons.json.io
Deprecated.
JSONRenderer() - Constructor for class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
 
JSONRenderer.Options - Class in org.apache.sling.commons.json.io
Deprecated.
Rendering options
JSONString - Interface in org.apache.sling.commons.json
Deprecated.
JSONStringer - Class in org.apache.sling.commons.json.io
Deprecated.
JSONStringer() - Constructor for class org.apache.sling.commons.json.io.JSONStringer
Deprecated.
Make a fresh JSONStringer.
JSONTokener - Class in org.apache.sling.commons.json
Deprecated.
JSONTokener(InputStream) - Constructor for class org.apache.sling.commons.json.JSONTokener
Deprecated.
Construct a JSONTokener from an InputStream.
JSONTokener(Reader) - Constructor for class org.apache.sling.commons.json.JSONTokener
Deprecated.
Construct a JSONTokener from a Reader.
JSONTokener(String) - Constructor for class org.apache.sling.commons.json.JSONTokener
Deprecated.
Construct a JSONTokener from a string.
JSONWriter - Class in org.apache.sling.commons.json.io
Deprecated.
JSONWriter(Writer) - Constructor for class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Make a fresh JSONWriter.

K

keepStrings - Variable in class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
Specifies if values should be kept as strings (true), or if they should try to be guessed into JSON values (numeric, boolean, string)
key(String) - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Append a key.
keys() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an enumeration of the keys of the JSONObject.
keySet() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get a set of keys of the JSONObject.

L

length() - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the number of elements in the JSONArray, included nulls.
length() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the number of keys stored in the JSONObject.
LT - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
The Character '<'.

M

maxNestingDepth - Variable in class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
The maximum nesting depth when parsing a document.
mode - Variable in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
The current mode.
more() - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Determine if the source string still contains characters that next() can consume.

N

names() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Produce a JSONArray containing the names of the elements of this JSONObject.
next() - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Get the next character in the source string.
next(char) - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Consume the next character, and check that it matches a specified character.
next(int) - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Get the next n characters.
nextCDATA() - Method in class org.apache.sling.commons.json.xml.XMLTokener
Deprecated.
Get the text in the CDATA block.
nextClean() - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Get the next char in the string, skipping whitespace.
nextContent() - Method in class org.apache.sling.commons.json.xml.XMLTokener
Deprecated.
Get the next XML outer token, trimming whitespace.
nextEntity(char) - Method in class org.apache.sling.commons.json.xml.XMLTokener
Deprecated.
Return the next entity. These entities are translated to Characters: &amp; &apos; &gt; &lt; &quot;.
nextMeta() - Method in class org.apache.sling.commons.json.xml.XMLTokener
Deprecated.
Returns the next XML meta token. This is used for skipping over <!...> and <?...?> structures.
nextString(char) - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Return the characters up to the next close quote character.
nextTo(char) - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextToken() - Method in class org.apache.sling.commons.json.http.HTTPTokener
Deprecated.
Get the next token or string.
nextToken() - Method in class org.apache.sling.commons.json.xml.XMLTokener
Deprecated.
Get the next XML Token. These tokens are found inside of angle brackets. It may be one of these characters: / > = ! ? or it may be a string wrapped in single quotes or double quotes, or it may be a name.
nextValue() - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Get the next value.
noSpace(String) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Throw an exception if the string contains whitespace.
NULL - Static variable in class org.apache.sling.commons.json.JSONObject
Deprecated.
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
NULL_ATTR - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
Null attribute name
NUMBER_PATTERN - Static variable in class org.apache.sling.commons.json.JSONObject
Deprecated.
Regular Expression Pattern that matches JSON Numbers.
numberToString(Number) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Produce a string from a Number.
numberToString(Number) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Produce a string from a Number.

O

object() - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Begin appending a new object.
opt(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional object value associated with an index.
opt(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional value associated with a key.
optBigDecimal(int, BigDecimal) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional BigDecimal value associated with an index.
optBigDecimal(String, BigDecimal) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional BigDecimal associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optBigInteger(int, BigInteger) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional BigInteger value associated with an index.
optBigInteger(String, BigInteger) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional BigInteger associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optBoolean(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional boolean value associated with an index.
optBoolean(int, boolean) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional boolean value associated with an index.
optBoolean(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional boolean associated with a key.
optBoolean(String, boolean) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional boolean associated with a key.
optBooleanObject(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional Boolean object associated with an index.
optBooleanObject(int, Boolean) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional Boolean object associated with an index.
optBooleanObject(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional boolean object associated with a key.
optBooleanObject(String, Boolean) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional boolean object associated with a key.
optDouble(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional double value associated with an index.
optDouble(int, double) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional double value associated with an index.
optDouble(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number.
optDouble(String, double) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optDoubleObject(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional Double object associated with an index.
optDoubleObject(int, Double) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional double value associated with an index.
optDoubleObject(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional Double object associated with a key, or NaN if there is no such key or if its value is not a number.
optDoubleObject(String, Double) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional Double object associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optEnum(Class<E>, int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the enum value associated with a key.
optEnum(Class<E>, int, E) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the enum value associated with a key.
optEnum(Class<E>, String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the enum value associated with a key.
optEnum(Class<E>, String, E) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the enum value associated with a key.
optFloat(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional float value associated with an index.
optFloat(int, float) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional float value associated with an index.
optFloat(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the optional float value associated with an index.
optFloat(String, float) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the optional float value associated with an index.
optFloatObject(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional Float object associated with an index.
optFloatObject(int, Float) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional Float object associated with an index.
optFloatObject(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the optional Float object associated with an index.
optFloatObject(String, Float) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get the optional Float object associated with an index.
optInt(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional int value associated with an index.
optInt(int, int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional int value associated with an index.
optInt(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number.
optInt(String, int) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
optIntegerObject(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional Integer object associated with an index.
optIntegerObject(int, Integer) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional Integer object associated with an index.
optIntegerObject(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional Integer object associated with a key, or zero if there is no such key or if the value is not a number.
optIntegerObject(String, Integer) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional Integer object associated with a key, or the default if there is no such key or if the value is not a number.
options() - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Return an Options object with default values
optJSONArray(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional JSONArray associated with an index.
optJSONArray(int, JSONArray) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional JSONArray associated with an index.
optJSONArray(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional JSONArray associated with a key.
optJSONArray(String, JSONArray) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional JSONArray associated with a key, or the default if there is no such key, or if its value is not a JSONArray.
optJSONObject(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional JSONObject associated with an index.
optJSONObject(int, JSONObject) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional JSONObject associated with an index.
optJSONObject(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional JSONObject associated with a key.
optJSONObject(String, JSONObject) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional JSONObject associated with a key, or the default if there is no such key or if the value is not a JSONObject.
optLong(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional long value associated with an index.
optLong(int, long) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional long value associated with an index.
optLong(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number.
optLong(String, long) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optLongObject(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional Long object associated with an index.
optLongObject(int, Long) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional Long object associated with an index.
optLongObject(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional Long object associated with a key, or zero if there is no such key or if the value is not a number.
optLongObject(String, Long) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional Long object associated with a key, or the default if there is no such key or if the value is not a number.
optNumber(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get an optional Number value associated with a key, or null if there is no such key or if the value is not a number.
optNumber(int, Number) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get an optional Number value associated with a key, or the default if there is no such key or if the value is not a number.
optNumber(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional Number value associated with a key, or null if there is no such key or if the value is not a number.
optNumber(String, Number) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional Number value associated with a key, or the default if there is no such key or if the value is not a number.
optQuery(String) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optQuery(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optQuery(JSONPointer) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optQuery(JSONPointer) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optString(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional string value associated with an index.
optString(int, String) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Get the optional string associated with an index.
optString(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional string associated with a key.
optString(String, String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Get an optional string associated with a key.
org.apache.sling.commons.json - package org.apache.sling.commons.json
 
org.apache.sling.commons.json.http - package org.apache.sling.commons.json.http
 
org.apache.sling.commons.json.io - package org.apache.sling.commons.json.io
 
org.apache.sling.commons.json.jcr - package org.apache.sling.commons.json.jcr
 
org.apache.sling.commons.json.sling - package org.apache.sling.commons.json.sling
 
org.apache.sling.commons.json.util - package org.apache.sling.commons.json.util
 
org.apache.sling.commons.json.xml - package org.apache.sling.commons.json.xml
 

P

ParserConfiguration - Class in org.apache.sling.commons.json.util
Deprecated.
ParserConfiguration() - Constructor for class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
Constructs a new ParserConfiguration with default settings.
ParserConfiguration(boolean, int) - Constructor for class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
Constructs a new ParserConfiguration with the specified settings.
prettyPrint(JSONArray, JSONRenderer.Options) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Pretty-print a JSONArray
prettyPrint(JSONObject, JSONRenderer.Options) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Make a prettyprinted JSON text of this JSONObject.
put(boolean) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Append a boolean value.
put(double) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Append a double value.
put(float) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Append a float value.
put(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Append an int value.
put(int, boolean) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put or replace a boolean value in the JSONArray.
put(int, double) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put or replace a double value.
put(int, float) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put or replace a float value.
put(int, int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put or replace an int value.
put(int, long) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put or replace a long value.
put(int, Object) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put or replace an object value in the JSONArray.
put(int, Collection<?>) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(int, Map<?, ?>) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map.
put(int, Map<?, ?>, JSONParserConfiguration) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map.
put(long) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Append an long value.
put(Object) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Append an object value.
put(String, boolean) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/boolean pair in the JSONObject.
put(String, double) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/double pair in the JSONObject.
put(String, float) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/float pair in the JSONObject.
put(String, int) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/int pair in the JSONObject.
put(String, long) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/long pair in the JSONObject.
put(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/value pair in the JSONObject.
put(String, Collection<?>) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
put(String, Map<?, ?>) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
put(Collection<?>) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(Map<?, ?>) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
putAll(Iterable<?>) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put an Iterable's elements in to the JSONArray.
putAll(Object) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put an array's elements in to the JSONArray.
putAll(Collection<?>) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put a collection's elements in to the JSONArray.
putAll(JSONArray) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Put a JSONArray's elements in to the JSONArray.
putOnce(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.
putOpt(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

query(String) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Creates a JSONPointer using an initialization string and tries to match it to an item within this JSONArray.
query(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Creates a JSONPointer using an initialization string and tries to match it to an item within this JSONObject.
query(JSONPointer) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Uses a user initialized JSONPointer and tries to match it to an item within this JSONArray.
query(JSONPointer) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Uses a user initialized JSONPointer and tries to match it to an item within this JSONObject.
QUEST - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
The Character '?'.
QUOT - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
The Character '"'.
quote(Writer, String) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Quote the supplied string for JSON, to the supplied Writer
quote(String) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Quote the supplied string for JSON
quote(String) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Produce a string in double quotes with backslash sequences in all the right places.
quote(String, Writer) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Quotes a string and appends the result to a given Writer.

R

recursionLevelActive(int, int) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
true if the current recursion level is active
remove(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Remove an index and close the hole.
remove(String) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Remove a name and its value, if present.
resource - Variable in class org.apache.sling.commons.json.sling.ResourceTraversor.Entry
Deprecated.
 
ResourceTraversor - Class in org.apache.sling.commons.json.sling
Deprecated.
ResourceTraversor(int, long, Resource, boolean) - Constructor for class org.apache.sling.commons.json.sling.ResourceTraversor
Deprecated.
Create a ResourceTraversor, optionally limiting recursion and total number of resources
ResourceTraversor.Entry - Class in org.apache.sling.commons.json.sling
Deprecated.
 
rowToJSONArray(JSONTokener) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of strings from a row of comma delimited values.
rowToJSONArray(JSONTokener, char) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of strings from a row of comma delimited values.
rowToJSONObject(JSONArray, JSONTokener) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
rowToJSONObject(JSONArray, JSONTokener, char) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
rowToString(JSONArray) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a comma delimited text row from a JSONArray.
rowToString(JSONArray, char) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a comma delimited text row from a JSONArray.

S

setTidy(boolean) - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
do not use, was removed from library and later stubbed
similar(Object) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Determine if two JSONArrays are similar.
similar(Object) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Determine if two JSONObjects are similar.
skipPast(String) - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Skip characters until past the requested string.
skipTo(char) - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Skip characters until the next character is the requested character.
SLASH - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
The Character '/'.
stringToNumber(String) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Converts a string to a number using the narrowest possible type.
stringToValue(String) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Try to convert a string into a number, boolean, or null.
stringToValue(String) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
This method is the same as JSONObject.stringToValue(String).
stringToValue(String, XMLXsiTypeConverter<?>) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
This method tries to convert the given string value to the target object
syntaxError(String) - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Make a JSONException to signal a syntax error.
syntaxError(String, Throwable) - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Make a JSONException to signal a syntax error.

T

testNumberValidity(Object) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Throw an exception if the object is an NaN or infinite number.
testValidity(Object) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Throw an exception if the object is a NaN or infinite number.
toJSONArray(String) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(String, char) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONArray) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONArray(JSONArray, String) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray, String, char) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray, JSONTokener) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray, JSONTokener, char) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONTokener) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONTokener, char) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONObject(Reader) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a well-formed (but not necessarily valid) XML into a JSONObject.
toJSONObject(Reader, boolean) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a well-formed (but not necessarily valid) XML into a JSONObject.
toJSONObject(Reader, XMLParserConfiguration) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a well-formed (but not necessarily valid) XML into a JSONObject.
toJSONObject(String) - Static method in class org.apache.sling.commons.json.http.Cookie
Deprecated.
Convert a cookie specification string into a JSONObject.
toJSONObject(String) - Static method in class org.apache.sling.commons.json.http.CookieList
Deprecated.
Convert a cookie list into a JSONObject.
toJSONObject(String) - Static method in class org.apache.sling.commons.json.http.HTTP
Deprecated.
Convert an HTTP header string into a JSONObject.
toJSONObject(String) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONObject(String, boolean) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONObject(String, XMLParserConfiguration) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONObject(JSONArray) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONString() - Method in interface org.apache.sling.commons.json.JSONString
Deprecated.
The toJSONString method allows a class to produce its own JSON serialization.
toList() - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Returns a java.util.List containing all of the elements in this array.
toMap() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Returns a java.util.Map containing all of the entries in this object.
toString() - Method in class org.apache.sling.commons.json.io.JSONStringer
Deprecated.
Return the JSON text.
toString() - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Make a JSON text of this JSONArray.
toString() - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Make a JSON text of this JSONObject.
toString() - Method in class org.apache.sling.commons.json.JSONTokener
Deprecated.
Make a printable string of this JSONTokener.
toString(int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Make a pretty-printed JSON text of this JSONArray.
toString(int) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Make a pretty-printed JSON text of this JSONObject.
toString(Object) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, int) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a JSONObject into a well-formed, pretty printed element-normal XML string.
toString(Object, String) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String, int) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a JSONObject into a well-formed, pretty printed element-normal XML string.
toString(Object, String, XMLParserConfiguration) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String, XMLParserConfiguration, int) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Convert a JSONObject into a well-formed, pretty printed element-normal XML string.
toString(JSONArray) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Make a JSON text of the supplied JSONArray.
toString(JSONArray) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a comma delimited text from a JSONArray of JSONObjects.
toString(JSONArray, char) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a comma delimited text from a JSONArray of JSONObjects.
toString(JSONArray, JSONArray) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.
toString(JSONArray, JSONArray, char) - Static method in class org.apache.sling.commons.json.util.CDL
Deprecated.
Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.
toString(JSONObject) - Static method in class org.apache.sling.commons.json.http.Cookie
Deprecated.
Convert a JSONObject into a cookie specification string.
toString(JSONObject) - Static method in class org.apache.sling.commons.json.http.CookieList
Deprecated.
Convert a JSONObject into a cookie list.
toString(JSONObject) - Static method in class org.apache.sling.commons.json.http.HTTP
Deprecated.
Convert a JSONObject into an HTTP header.
toString(JSONObject) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Render the supplied JSONObject to a String, in the simplest possible way.
TYPE_ATTR - Static variable in class org.apache.sling.commons.json.xml.XML
Deprecated.
Represents the XML attribute name for specifying type information.

U

UNDEFINED_MAXIMUM_NESTING_DEPTH - Static variable in class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
Used to indicate there's no defined limit to the maximum nesting depth when parsing a document.
unescape(String) - Static method in class org.apache.sling.commons.json.http.Cookie
Deprecated.
Convert %hh sequences to single characters, and convert plus to space.
unescape(String) - Static method in class org.apache.sling.commons.json.xml.XML
Deprecated.
Removes XML escapes from the string.

V

validate(String) - Static method in class org.apache.sling.commons.json.util.Validator
Deprecated.
Strictly validate the JSON text
validate(JSONTokener) - Static method in class org.apache.sling.commons.json.util.Validator
Deprecated.
Strictly validate the JSON text
Validator - Class in org.apache.sling.commons.json.util
Deprecated.
Validator() - Constructor for class org.apache.sling.commons.json.util.Validator
Deprecated.
 
value() - Element in annotation type org.apache.sling.commons.json.JSONPropertyName
Deprecated.
The value of the JSON property.
value(boolean) - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Append either the value true or the value false.
value(double) - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Append a double value.
value(long) - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Append a long value.
value(Object) - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Append an object value.
valueToString(Object) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Make a JSON text of an Object value.
valueToString(Object) - Static method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Make a JSON text of an Object value.
valueToString(Object) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Make a JSON text of an Object value.
valueToString(Object, JSONRenderer.Options) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Make a JSON String of an Object value, with rendering options

W

withArraysForChildren(boolean) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
Deprecated.
 
withChildNameKey(String) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
Deprecated.
 
withChildrenKey(String) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
Deprecated.
 
withIndent(int) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
Deprecated.
 
withInitialIndent(int) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
Deprecated.
 
withKeepStrings(boolean) - Method in class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
When parsing the XML into JSONML, specifies if values should be kept as strings (true), or if they should try to be guessed into JSON values (numeric, boolean, string)
withMaxNestingDepth(int) - Method in class org.apache.sling.commons.json.util.ParserConfiguration
Deprecated.
Defines the maximum nesting depth that the parser will descend before throwing an exception when parsing the XML into JSONML.
wrap(Object) - Static method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Wrap an object, if necessary.
write(Writer) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Write the contents of the JSONArray as JSON text to a writer.
write(Writer) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Write the contents of the JSONObject as JSON text to a writer.
write(Writer, int, int) - Method in class org.apache.sling.commons.json.JSONArray
Deprecated.
Write the contents of the JSONArray as JSON text to a writer.
write(Writer, int, int) - Method in class org.apache.sling.commons.json.JSONObject
Deprecated.
Write the contents of the JSONObject as JSON text to a writer.
write(Writer, JSONArray) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Write the contents of the supplied JSONArray as JSON text to a writer.
write(Writer, JSONObject) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Deprecated.
Write the contents of the supplied JSONObject as JSON text to a writer.
writeArray(JSONArray) - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Append a JSON Array
writeObject(JSONObject) - Method in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
Append a JSON Object
writeProperty(JSONWriter, Property) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Deprecated.
Write a single property
writer - Variable in class org.apache.sling.commons.json.io.JSONWriter
Deprecated.
The writer that will receive the output.

X

XML - Class in org.apache.sling.commons.json.xml
Deprecated.
XML() - Constructor for class org.apache.sling.commons.json.xml.XML
Deprecated.
Constructs a new XML object.
XMLTokener - Class in org.apache.sling.commons.json.xml
Deprecated.
XMLTokener(Reader) - Constructor for class org.apache.sling.commons.json.xml.XMLTokener
Deprecated.
Construct an XMLTokener from a Reader.
XMLTokener(Reader, XMLParserConfiguration) - Constructor for class org.apache.sling.commons.json.xml.XMLTokener
Deprecated.
Construct an XMLTokener from a Reader and an XMLParserConfiguration.
XMLTokener(String) - Constructor for class org.apache.sling.commons.json.xml.XMLTokener
Deprecated.
Construct an XMLTokener from a string.
A B C D E F G H I J K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form