A C D E F G H I J K L M N O P Q R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accumulate(String, Object) - Method in class org.json.JSONObject
-
Accumulate values under a key.
- append(Object) - Method in class one.xingyi.json.JsonResourceList1
- append(String, Object) - Method in class org.json.JSONObject
-
Append values to the array under a key.
- asInt(Object) - Method in class one.xingyi.json.Json
- asList(Object) - Method in class one.xingyi.json.Json
- asResourceList(Object) - Method in class one.xingyi.json.Json
- asString(Object) - Method in class one.xingyi.json.Json
C
- child(Object, String) - Method in class one.xingyi.json.Json
D
- doubleToString(double) - Static method in class org.json.JSONObject
-
Produce a string from a double.
E
- entrySet() - Method in class org.json.JSONObject
-
Get a set of entries of the JSONObject.
F
- fromJ(Object) - Method in class one.xingyi.json.Json
G
- get(int) - Method in class one.xingyi.json.JsonResourceList1
- get(int) - Method in class org.json.JSONArray
-
Get the object value associated with an index.
- get(String) - Method in class org.json.JSONObject
-
Get the value object associated with a key.
- getBigDecimal(int) - Method in class org.json.JSONArray
-
Get the BigDecimal value associated with an index.
- getBigDecimal(String) - Method in class org.json.JSONObject
-
Get the BigDecimal value associated with a key.
- getBigInteger(int) - Method in class org.json.JSONArray
-
Get the BigInteger value associated with an index.
- getBigInteger(String) - Method in class org.json.JSONObject
-
Get the BigInteger value associated with a key.
- getBoolean(int) - Method in class org.json.JSONArray
-
Get the boolean value associated with an index.
- getBoolean(String) - Method in class org.json.JSONObject
-
Get the boolean value associated with a key.
- getDouble(int) - Method in class org.json.JSONArray
-
Get the double value associated with an index.
- getDouble(String) - Method in class org.json.JSONObject
-
Get the double value associated with a key.
- getEnum(Class<E>, int) - Method in class org.json.JSONArray
-
Get the enum value associated with an index.
- getEnum(Class<E>, String) - Method in class org.json.JSONObject
-
Get the enum value associated with a key.
- getFloat(int) - Method in class org.json.JSONArray
-
Get the float value associated with a key.
- getFloat(String) - Method in class org.json.JSONObject
-
Get the float value associated with a key.
- getInt(int) - Method in class org.json.JSONArray
-
Get the int value associated with an index.
- getInt(String) - Method in class org.json.JSONObject
-
Get the int value associated with a key.
- getJSONArray(int) - Method in class org.json.JSONArray
-
Get the JSONArray associated with an index.
- getJSONArray(String) - Method in class org.json.JSONObject
-
Get the JSONArray value associated with a key.
- getJSONObject(int) - Method in class org.json.JSONArray
-
Get the JSONObject associated with an index.
- getJSONObject(String) - Method in class org.json.JSONObject
-
Get the JSONObject value associated with a key.
- getLong(int) - Method in class org.json.JSONArray
-
Get the long value associated with an index.
- getLong(String) - Method in class org.json.JSONObject
-
Get the long value associated with a key.
- getNames(Object) - Static method in class org.json.JSONObject
-
Get an array of public field names from an Object.
- getNames(JSONObject) - Static method in class org.json.JSONObject
-
Get an array of field names from a JSONObject.
- getNumber(int) - Method in class org.json.JSONArray
-
Get the Number value associated with a key.
- getNumber(String) - Method in class org.json.JSONObject
-
Get the Number value associated with a key.
- getString(int) - Method in class org.json.JSONArray
-
Get the string associated with an index.
- getString(String) - Method in class org.json.JSONObject
-
Get the string associated with a key.
H
- has(String) - Method in class org.json.JSONObject
-
Determine if the JSONObject contains a specific key.
I
- increment(String) - Method in class org.json.JSONObject
-
Increment a property of a JSONObject.
- isDecimalNotation(String) - Static method in class org.json.JSONObject
-
Tests if the value should be tried as a decimal.
- isEmpty() - Method in class org.json.JSONArray
-
Check if JSONArray is empty.
- isEmpty() - Method in class org.json.JSONObject
-
Check if JSONObject is empty.
- isNull(int) - Method in class org.json.JSONArray
-
Determine if the value is
null. - isNull(String) - Method in class org.json.JSONObject
-
Determine if the value associated with the key is
nullor if there is no value. - iterator() - Method in class one.xingyi.json.JsonResourceList1
- iterator() - Method in class org.json.JSONArray
J
- join(String) - Method in class org.json.JSONArray
-
Make a string from the contents of this JSONArray.
- Json - Class in one.xingyi.json
- Json() - Constructor for class one.xingyi.json.Json
- JSONArray - Class in org.json
-
A JSONArray is an ordered sequence of values.
- JSONArray() - Constructor for class org.json.JSONArray
-
Construct an empty JSONArray.
- JSONArray(Object) - Constructor for class org.json.JSONArray
-
Construct a JSONArray from an array
- JSONArray(String) - Constructor for class org.json.JSONArray
-
Construct a JSONArray from a source JSON text.
- JSONArray(Collection<?>) - Constructor for class org.json.JSONArray
-
Construct a JSONArray from a Collection.
- JSONArray(JSONTokener) - Constructor for class org.json.JSONArray
-
Construct a JSONArray from a JSONTokener.
- JSONObject - Class in org.json
-
A JSONObject is an unordered collection of name/value pairs.
- JSONObject() - Constructor for class org.json.JSONObject
-
Construct an empty JSONObject.
- JSONObject(int) - Constructor for class org.json.JSONObject
-
Constructor to specify an initial capacity of the internal map.
- JSONObject(Object) - Constructor for class org.json.JSONObject
-
Construct a JSONObject from an Object using bean getters.
- JSONObject(Object, String[]) - Constructor for class org.json.JSONObject
-
Construct a JSONObject from an Object, using reflection to find the public members.
- JSONObject(String) - Constructor for class org.json.JSONObject
-
Construct a JSONObject from a source JSON text string.
- JSONObject(String, Locale) - Constructor for class org.json.JSONObject
-
Construct a JSONObject from a ResourceBundle.
- JSONObject(Map<?, ?>) - Constructor for class org.json.JSONObject
-
Construct a JSONObject from a Map.
- JSONObject(JSONObject, String[]) - Constructor for class org.json.JSONObject
-
Construct a JSONObject from a subset of another JSONObject.
- JSONObject(JSONTokener) - Constructor for class org.json.JSONObject
-
Construct a JSONObject from a JSONTokener.
- JsonResourceList1 - Class in one.xingyi.json
- JsonResourceList1() - Constructor for class one.xingyi.json.JsonResourceList1
K
- keys() - Method in class org.json.JSONObject
-
Get an enumeration of the keys of the JSONObject.
- keySet() - Method in class org.json.JSONObject
-
Get a set of keys of the JSONObject.
L
- length() - Method in class org.json.JSONArray
-
Get the number of elements in the JSONArray, included nulls.
- length() - Method in class org.json.JSONObject
-
Get the number of keys stored in the JSONObject.
- lensToChild(String) - Method in class one.xingyi.json.Json
- lensToDouble(String) - Method in class one.xingyi.json.Json
- lensToInteger(String) - Method in class one.xingyi.json.Json
- lensToResourceList(String) - Method in class one.xingyi.json.Json
- lensToString(String) - Method in class one.xingyi.json.Json
- liftString(String) - Method in class one.xingyi.json.Json
M
- makeList(IResourceList<T>) - Method in class one.xingyi.json.Json
- makeObject(Object...) - Method in class one.xingyi.json.Json
- map - Variable in class org.json.JSONObject
-
The map where the JSONObject's properties are kept.
- myArrayList - Variable in class org.json.JSONArray
-
The arrayList where the JSONArray's properties are kept.
N
- names() - Method in class org.json.JSONObject
-
Produce a JSONArray containing the names of the elements of this JSONObject.
- NULL - Static variable in class org.json.JSONObject
-
It is sometimes more convenient and less ambiguous to have a
NULLobject than to use Java'snullvalue. - numberToString(Number) - Static method in class org.json.JSONObject
-
Produce a string from a Number.
O
- one.xingyi.json - package one.xingyi.json
- opt(int) - Method in class org.json.JSONArray
-
Get the optional object value associated with an index.
- opt(String) - Method in class org.json.JSONObject
-
Get an optional value associated with a key.
- optBigDecimal(int, BigDecimal) - Method in class org.json.JSONArray
-
Get the optional BigDecimal value associated with an index.
- optBigDecimal(String, BigDecimal) - Method in class org.json.JSONObject
-
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.json.JSONArray
-
Get the optional BigInteger value associated with an index.
- optBigInteger(String, BigInteger) - Method in class org.json.JSONObject
-
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.json.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(int, boolean) - Method in class org.json.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(String) - Method in class org.json.JSONObject
-
Get an optional boolean associated with a key.
- optBoolean(String, boolean) - Method in class org.json.JSONObject
-
Get an optional boolean associated with a key.
- optDouble(int) - Method in class org.json.JSONArray
-
Get the optional double value associated with an index.
- optDouble(int, double) - Method in class org.json.JSONArray
-
Get the optional double value associated with an index.
- optDouble(String) - Method in class org.json.JSONObject
-
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.json.JSONObject
-
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.
- optEnum(Class<E>, int) - Method in class org.json.JSONArray
-
Get the enum value associated with a key.
- optEnum(Class<E>, int, E) - Method in class org.json.JSONArray
-
Get the enum value associated with a key.
- optEnum(Class<E>, String) - Method in class org.json.JSONObject
-
Get the enum value associated with a key.
- optEnum(Class<E>, String, E) - Method in class org.json.JSONObject
-
Get the enum value associated with a key.
- optFloat(int) - Method in class org.json.JSONArray
-
Get the optional float value associated with an index.
- optFloat(int, float) - Method in class org.json.JSONArray
-
Get the optional float value associated with an index.
- optFloat(String) - Method in class org.json.JSONObject
-
Get the optional double value associated with an index.
- optFloat(String, float) - Method in class org.json.JSONObject
-
Get the optional double value associated with an index.
- optInt(int) - Method in class org.json.JSONArray
-
Get the optional int value associated with an index.
- optInt(int, int) - Method in class org.json.JSONArray
-
Get the optional int value associated with an index.
- optInt(String) - Method in class org.json.JSONObject
-
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.json.JSONObject
-
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.
- optJSONArray(int) - Method in class org.json.JSONArray
-
Get the optional JSONArray associated with an index.
- optJSONArray(String) - Method in class org.json.JSONObject
-
Get an optional JSONArray associated with a key.
- optJSONObject(int) - Method in class org.json.JSONArray
-
Get the optional JSONObject associated with an index.
- optJSONObject(String) - Method in class org.json.JSONObject
-
Get an optional JSONObject associated with a key.
- optLong(int) - Method in class org.json.JSONArray
-
Get the optional long value associated with an index.
- optLong(int, long) - Method in class org.json.JSONArray
-
Get the optional long value associated with an index.
- optLong(String) - Method in class org.json.JSONObject
-
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.json.JSONObject
-
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.
- optNumber(int) - Method in class org.json.JSONArray
-
Get an optional
Numbervalue associated with a key, ornullif there is no such key or if the value is not a number. - optNumber(int, Number) - Method in class org.json.JSONArray
-
Get an optional
Numbervalue 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.json.JSONObject
-
Get an optional
Numbervalue associated with a key, ornullif there is no such key or if the value is not a number. - optNumber(String, Number) - Method in class org.json.JSONObject
-
Get an optional
Numbervalue 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.json.JSONArray
-
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.json.JSONObject
-
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.json.JSONArray
-
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.json.JSONObject
-
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.json.JSONArray
-
Get the optional string value associated with an index.
- optString(int, String) - Method in class org.json.JSONArray
-
Get the optional string associated with an index.
- optString(String) - Method in class org.json.JSONObject
-
Get an optional string associated with a key.
- optString(String, String) - Method in class org.json.JSONObject
-
Get an optional string associated with a key.
- org.json - package org.json
P
- parse(String) - Method in class one.xingyi.json.Json
- put(boolean) - Method in class org.json.JSONArray
-
Append a boolean value.
- put(double) - Method in class org.json.JSONArray
-
Append a double value.
- put(float) - Method in class org.json.JSONArray
-
Append a float value.
- put(int) - Method in class org.json.JSONArray
-
Append an int value.
- put(int, boolean) - Method in class org.json.JSONArray
-
Put or replace a boolean value in the JSONArray.
- put(int, double) - Method in class org.json.JSONArray
-
Put or replace a double value.
- put(int, float) - Method in class org.json.JSONArray
-
Put or replace a float value.
- put(int, int) - Method in class org.json.JSONArray
-
Put or replace an int value.
- put(int, long) - Method in class org.json.JSONArray
-
Put or replace a long value.
- put(int, Object) - Method in class org.json.JSONArray
- put(int, Collection<?>) - Method in class org.json.JSONArray
-
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.json.JSONArray
-
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.json.JSONArray
-
Append an long value.
- put(Object) - Method in class org.json.JSONArray
-
Append an object value.
- put(String, boolean) - Method in class org.json.JSONObject
-
Put a key/boolean pair in the JSONObject.
- put(String, double) - Method in class org.json.JSONObject
-
Put a key/double pair in the JSONObject.
- put(String, float) - Method in class org.json.JSONObject
-
Put a key/float pair in the JSONObject.
- put(String, int) - Method in class org.json.JSONObject
-
Put a key/int pair in the JSONObject.
- put(String, long) - Method in class org.json.JSONObject
-
Put a key/long pair in the JSONObject.
- put(String, Object) - Method in class org.json.JSONObject
-
Put a key/value pair in the JSONObject.
- put(String, Collection<?>) - Method in class org.json.JSONObject
-
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.json.JSONObject
-
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.json.JSONArray
-
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.json.JSONArray
-
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
- putOnce(String, Object) - Method in class org.json.JSONObject
-
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.json.JSONObject
-
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.json.JSONArray
-
Creates a JSONPointer using an initialization string and tries to match it to an item within this JSONArray.
- query(String) - Method in class org.json.JSONObject
-
Creates a JSONPointer using an initialization string and tries to optMatch it to an item within this JSONObject.
- query(JSONPointer) - Method in class org.json.JSONArray
-
Uses a uaer initialized JSONPointer and tries to match it to an item whithin this JSONArray.
- query(JSONPointer) - Method in class org.json.JSONObject
-
Uses a user initialized JSONPointer and tries to optMatch it to an item within this JSONObject.
- quote(String) - Static method in class org.json.JSONObject
-
Produce a string in double quotes with backslash sequences in all the right places.
- quote(String, Writer) - Static method in class org.json.JSONObject
R
- remove(int) - Method in class org.json.JSONArray
-
Remove an index and close the hole.
- remove(String) - Method in class org.json.JSONObject
-
Remove a name and its value, if present.
S
- similar(Object) - Method in class org.json.JSONArray
-
Determine if two JSONArrays are similar.
- similar(Object) - Method in class org.json.JSONObject
-
Determine if two JSONObjects are similar.
- simple - Static variable in class one.xingyi.json.Json
- size() - Method in class one.xingyi.json.JsonResourceList1
- stringToNumber(String) - Static method in class org.json.JSONObject
-
Converts a string to a number using the narrowest possible type.
- stringToValue(String) - Static method in class org.json.JSONObject
-
Try to convert a string into a number, boolean, or null.
T
- testValidity(Object) - Static method in class org.json.JSONObject
-
Throw an exception if the object is a NaN or infinite number.
- toJSONArray(JSONArray) - Method in class org.json.JSONObject
-
Produce a JSONArray containing the values of the members of this JSONObject.
- toJSONObject(JSONArray) - Method in class org.json.JSONArray
-
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
- toList() - Method in class org.json.JSONArray
-
Returns a java.util.List containing all of the elements in this array.
- toMap() - Method in class org.json.JSONObject
-
Returns a java.util.Map containing all of the entries in this object.
- toString() - Method in class org.json.JSONArray
-
Make a JSON text of this JSONArray.
- toString() - Method in class org.json.JSONObject
-
Make a JSON text of this JSONObject.
- toString(int) - Method in class org.json.JSONArray
- toString(int) - Method in class org.json.JSONObject
V
- valueToString(Object) - Static method in class org.json.JSONObject
-
Make a JSON text of an Object value.
W
- withItem(int, Object) - Method in class one.xingyi.json.JsonResourceList1
- wrap(Object) - Static method in class org.json.JSONObject
-
Wrap an object, if necessary.
- write(Writer) - Method in class org.json.JSONArray
-
Write the contents of the JSONArray as JSON text to a writer.
- write(Writer) - Method in class org.json.JSONObject
-
Write the contents of the JSONObject as JSON text to a writer.
- write(Writer, int, int) - Method in class org.json.JSONArray
- write(Writer, int, int) - Method in class org.json.JSONObject
All Classes All Packages