- 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.
- 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.
- 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(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.
- getJSONObject() - Method in class org.apache.sling.commons.json.sling.ResourceTraversor
-
Deprecated.
- 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.
- 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 '>'.
- join(JSONArray, String) - Method in class org.apache.sling.commons.json.io.JSONRenderer
-
Deprecated.
Make a string from the contents of this JSONArray.
- join(String) - Method in class org.apache.sling.commons.json.JSONArray
-
Deprecated.
- 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(JSONTokener) - Constructor for class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Construct a JSONArray from a JSONTokener.
- JSONArray(String) - Constructor for class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Construct a JSONArray from a source sJSON text.
- JSONArray(Collection<?>) - Constructor for class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Construct a JSONArray from a Collection.
- JSONException - Exception in org.apache.sling.commons.json
-
Deprecated.
- JSONException(String) - Constructor for exception org.apache.sling.commons.json.JSONException
-
Deprecated.
Constructs a JSONException with an explanatory message.
- JSONException(Throwable) - Constructor for exception org.apache.sling.commons.json.JSONException
-
Deprecated.
- JSONException(String, Throwable) - Constructor for exception org.apache.sling.commons.json.JSONException
-
Deprecated.
- 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(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.
- JSONObject(Map<String, ?>) - Constructor for class org.apache.sling.commons.json.JSONObject
-
Deprecated.
Construct a JSONObject from a Map.
- 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 string.
- JsonObjectCreator - Class in org.apache.sling.commons.json.sling
-
Deprecated.
- JsonObjectCreator() - Constructor for class org.apache.sling.commons.json.sling.JsonObjectCreator
-
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(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.
- 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
and comments (slashslash, slashstar, and hash).
- 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.
- nextMeta() - Method in class org.apache.sling.commons.json.xml.XMLTokener
-
Deprecated.
Returns the next XML meta token.
- 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 delimeter
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.
- nextValue() - Method in class org.apache.sling.commons.json.JSONTokener
-
Deprecated.
Get the next value.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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(String) - Method in class org.apache.sling.commons.json.JSONObject
-
Deprecated.
Get an optional JSONArray associated with a key.
- optJSONObject(int) - 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.
- 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.
- 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
-
- prettyPrint(JSONObject, JSONRenderer.Options) - Method in class org.apache.sling.commons.json.io.JSONRenderer
-
Deprecated.
Make a prettyprinted JSON text of this JSONObject.
- prettyPrint(JSONArray, JSONRenderer.Options) - Method in class org.apache.sling.commons.json.io.JSONRenderer
-
Deprecated.
Pretty-print a JSONArray
- put(boolean) - Method in class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Append a boolean value.
- 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(double) - Method in class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Append a double value.
- put(int) - Method in class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Append an int value.
- put(long) - Method in class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Append an long value.
- put(Map<String, ?>) - 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.
- put(Object) - Method in class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Append an object 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, 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, double) - Method in class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Put or replace a double 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, Map<String, ?>) - 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.
- put(int, Object) - Method in class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Put or replace an object value in the JSONArray.
- 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, 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, 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, Map<String, ?>) - 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(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
-
Deprecated.
Put a key/value pair in the JSONObject.
- 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.
- 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.
- 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(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(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(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, 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.
- 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(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.
- 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.
- toJSONString() - Method in interface org.apache.sling.commons.json.JSONString
-
Deprecated.
The toJSONString
method allows a class to produce its own JSON
serialization.
- 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.
- toString(JSONArray) - Method in class org.apache.sling.commons.json.io.JSONRenderer
-
Deprecated.
Make a JSON text of the supplied JSONArray.
- 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.
- toString(int) - Method in class org.apache.sling.commons.json.JSONArray
-
Deprecated.
Make a prettyprinted JSON text of this JSONArray.
- toString() - Method in class org.apache.sling.commons.json.JSONObject
-
Deprecated.
- toString(int) - Method in class org.apache.sling.commons.json.JSONObject
-
Deprecated.
Make a prettyprinted JSON text of this JSONObject.
- toString() - Method in class org.apache.sling.commons.json.JSONTokener
-
Deprecated.
Make a printable string of this JSONTokener.
- 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, 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(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, String) - Static method in class org.apache.sling.commons.json.xml.XML
-
Deprecated.
Convert a JSONObject into a well-formed, element-normal XML string.