Index
All Classes and Interfaces|All Packages
A
- add(Object) - Method in class dev.iahmadgad.json.JSONArray
-
Appends the specified value to the end of the JSONArray.
- addAll(T[]) - Method in class dev.iahmadgad.json.JSONArray
-
Appends the specified array to the end of the JSONArray.
C
- Converter - Class in dev.iahmadgad.json
-
Convertor Class.
- Converter() - Constructor for class dev.iahmadgad.json.Converter
D
- DEFAULT - Enum constant in enum class dev.iahmadgad.json.JSONEnum
- dev.iahmadgad.json - package dev.iahmadgad.json
E
- entrySet() - Method in class dev.iahmadgad.json.JSONObject
-
Iterates over the whole JSONObjects entries.
G
- get(int) - Method in class dev.iahmadgad.json.JSONArray
-
Gets Object in this index.
- get(JSONPointer) - Method in class dev.iahmadgad.json.JSONArray
-
Gets Object in this pointer.
- get(JSONPointer) - Method in class dev.iahmadgad.json.JSONObject
-
Gets object stored in this pointer.
- get(String) - Method in class dev.iahmadgad.json.JSONObject
-
Gets Object stored in this key.
- getArrayList() - Method in class dev.iahmadgad.json.JSONParser
-
Returns the main JSONArray node.
- getBoolean(int) - Method in class dev.iahmadgad.json.JSONArray
-
Gets boolean in this index.
- getBoolean(JSONPointer) - Method in class dev.iahmadgad.json.JSONArray
-
Gets boolean in this pointer.
- getBoolean(JSONPointer) - Method in class dev.iahmadgad.json.JSONObject
-
Gets boolean stored in this pointer.
- getBoolean(String) - Method in class dev.iahmadgad.json.JSONObject
-
Gets boolean stored in this key.
- getDouble(int) - Method in class dev.iahmadgad.json.JSONArray
-
Gets double in this index.
- getDouble(JSONPointer) - Method in class dev.iahmadgad.json.JSONArray
-
Gets double in this pointer.
- getDouble(JSONPointer) - Method in class dev.iahmadgad.json.JSONObject
-
Gets double stored in this pointer.
- getDouble(String) - Method in class dev.iahmadgad.json.JSONObject
-
Gets double stored in this key.
- getHashMap() - Method in class dev.iahmadgad.json.JSONParser
-
Returns the main JSONObject node.
- getId() - Method in class dev.iahmadgad.json.JSONObject
-
Returns JSONObject id.
- getInt(int) - Method in class dev.iahmadgad.json.JSONArray
-
Gets int in this index.
- getInt(JSONPointer) - Method in class dev.iahmadgad.json.JSONArray
-
Gets int in this pointer.
- getInt(JSONPointer) - Method in class dev.iahmadgad.json.JSONObject
-
Gets int stored in this pointer.
- getInt(String) - Method in class dev.iahmadgad.json.JSONObject
-
Gets int stored in this key.
- getJSONArray(int) - Method in class dev.iahmadgad.json.JSONArray
-
Gets JSONArray in this index.
- getJSONArray(JSONPointer) - Method in class dev.iahmadgad.json.JSONArray
-
Gets JSONArray in this pointer.
- getJSONArray(JSONPointer) - Method in class dev.iahmadgad.json.JSONObject
-
Gets JSONArray stored in this pointer.
- getJSONArray(String) - Method in class dev.iahmadgad.json.JSONObject
-
Gets nested JSONArray stored in this key.
- getJSONObject(int) - Method in class dev.iahmadgad.json.JSONArray
-
Gets JSONObject in this index.
- getJSONObject(JSONPointer) - Method in class dev.iahmadgad.json.JSONArray
-
Gets JSONObject in this pointer.
- getJSONObject(JSONPointer) - Method in class dev.iahmadgad.json.JSONObject
-
Gets JSONObject stored in this pointer.
- getJSONObject(String) - Method in class dev.iahmadgad.json.JSONObject
-
Gets nested JSONObject stored in this key.
- getJSONString() - Method in class dev.iahmadgad.json.JSONStringBuilder
-
Returns The String of the JSONObject or the JSONArray.
- getNode() - Method in class dev.iahmadgad.json.JSONArray
-
Returns the main ArrayList that stores JSONArray values.
- getNode() - Method in class dev.iahmadgad.json.JSONObject
-
Returns the main HashMap that stores JSONObject pairs.
- getPointee() - Method in class dev.iahmadgad.json.JSONPointer
-
Gets the pointee (object) stored in this JSONPointer.
- getPresentedType(String) - Static method in class dev.iahmadgad.json.Validator
-
Gets the variable type presented by String.
- getString(int) - Method in class dev.iahmadgad.json.JSONArray
-
Gets String in this index.
- getString(JSONPointer) - Method in class dev.iahmadgad.json.JSONArray
-
Gets String in this pointer.
- getString(JSONPointer) - Method in class dev.iahmadgad.json.JSONObject
-
Gets String stored in this pointer.
- getString(String) - Method in class dev.iahmadgad.json.JSONObject
-
Gets String stored in this key.
- getType(Object) - Static method in class dev.iahmadgad.json.Validator
-
Gets type of the specified object.
- getVariable(String) - Static method in class dev.iahmadgad.json.Validator
-
Gets the variable presented by String.
I
- indentation - Variable in class dev.iahmadgad.json.JSONArray
-
Indentation and space around colon in the String.
- indentation - Variable in class dev.iahmadgad.json.JSONObject
-
Indentation and space around colon in the String.
- isBoolean(Object) - Static method in class dev.iahmadgad.json.Validator
-
Checks if value is boolean.
- isDouble(Object) - Static method in class dev.iahmadgad.json.Validator
-
Checks if value is double.
- isInteger(Object) - Static method in class dev.iahmadgad.json.Validator
-
Checks if value is int.
- isJSONArray(Object) - Static method in class dev.iahmadgad.json.Validator
-
Checks if object is JSONArray.
- isJSONObject(Object) - Static method in class dev.iahmadgad.json.Validator
-
Checks if object is JSONObject.
- isString(Object) - Static method in class dev.iahmadgad.json.Validator
-
Checks if object is String.
- isValid(Object) - Static method in class dev.iahmadgad.json.Validator
-
Checks if object is valid to be put into JSONObject or added to JSONArray.
- isValid(ArrayList<Object>) - Static method in class dev.iahmadgad.json.Validator
-
Checks if ArrayList is valid to be converted to JSONArray.
J
- JSONArray - Class in dev.iahmadgad.json
-
JSONArray Class.
- JSONArray() - Constructor for class dev.iahmadgad.json.JSONArray
-
The main Constructor which initialises a new JSONArray.
- JSONArray(String) - Constructor for class dev.iahmadgad.json.JSONArray
-
The Constructor which creates a new JSONArray from a text.
- JSONArray(List<T>) - Constructor for class dev.iahmadgad.json.JSONArray
-
The Constructor which creates a new JSONArray from a Java list (with valid values only as mentioned above).
- JSONArray(T[]) - Constructor for class dev.iahmadgad.json.JSONArray
-
The Constructor which creates a new JSONArray from a Java array (with valid values only as mentioned above).
- JSONEnum - Enum Class in dev.iahmadgad.json
-
JSONEnum Enum.
- JSONObject - Class in dev.iahmadgad.json
-
JSONObject Class.
- JSONObject() - Constructor for class dev.iahmadgad.json.JSONObject
-
The main Constructor which initialises a new JSONObject.
- JSONObject(File) - Constructor for class dev.iahmadgad.json.JSONObject
-
The Constructor which creates a new JSONObject from a file.
- JSONObject(String) - Constructor for class dev.iahmadgad.json.JSONObject
-
The Constructor which creates a new JSONObject from a text.
- JSONObject(T) - Constructor for class dev.iahmadgad.json.JSONObject
-
The Constructor which creates a new JSONObject from a Java object.
- JSONParser - Class in dev.iahmadgad.json
-
JSONParser Class.
- JSONParser(File) - Constructor for class dev.iahmadgad.json.JSONParser
-
Constructor that parses the node from a file.
- JSONParser(String) - Constructor for class dev.iahmadgad.json.JSONParser
-
Constructor that parses the node from a text.
- JSONPointer - Class in dev.iahmadgad.json
-
JSONPointer Class.
- JSONPointer(JSONArray, String) - Constructor for class dev.iahmadgad.json.JSONPointer
-
The main Constructor that assigns JSONPointer's path and node.
- JSONPointer(JSONObject, String) - Constructor for class dev.iahmadgad.json.JSONPointer
-
The main Constructor that assigns JSONPointer's path and node.
- JSONPointer(String) - Constructor for class dev.iahmadgad.json.JSONPointer
-
The main Constructor that assigns JSONPointer's path.
- JSONStringBuilder - Class in dev.iahmadgad.json
-
JSONStringBuilder Class.
- JSONStringBuilder(JSONArray, int, int) - Constructor for class dev.iahmadgad.json.JSONStringBuilder
-
The main Constructor which assigns a JSONArray to the JSONStringBuilder.
- JSONStringBuilder(JSONObject, int, int) - Constructor for class dev.iahmadgad.json.JSONStringBuilder
-
The main Constructor which assigns a JSONObject to the JSONStringBuilder.
N
P
- presentsBoolean(String) - Static method in class dev.iahmadgad.json.Validator
-
Checks if string presents a boolean value
- presentsDouble(String) - Static method in class dev.iahmadgad.json.Validator
-
Checks if string presents a double value
- presentsInteger(String) - Static method in class dev.iahmadgad.json.Validator
-
Checks if string presents an int value
- presentsString(String) - Static method in class dev.iahmadgad.json.Validator
-
Checks if string presents a String value
- put(String, Object) - Method in class dev.iahmadgad.json.JSONObject
-
Puts pair into the JSONObject.
R
- remove(int) - Method in class dev.iahmadgad.json.JSONArray
-
Removes the value stored in this index.
- remove(String) - Method in class dev.iahmadgad.json.JSONObject
-
Remove this key and value stored in it.
- replace(String, Object) - Method in class dev.iahmadgad.json.JSONObject
-
Replaces existing key's value in the JSONObject.
S
- set(int, Object) - Method in class dev.iahmadgad.json.JSONArray
-
Replaces the value in the specified position with the the specified value.
- setIndentation(int) - Method in class dev.iahmadgad.json.JSONArray
-
Sets indentation with some int value.
- setIndentation(int) - Method in class dev.iahmadgad.json.JSONObject
-
Sets indentation with some int value.
- setIndentation(JSONEnum) - Method in class dev.iahmadgad.json.JSONArray
-
Sets indentation with some Enum value.
- setIndentation(JSONEnum) - Method in class dev.iahmadgad.json.JSONObject
-
Sets indentation with some Enum value.
- setNode(JSONArray) - Method in class dev.iahmadgad.json.JSONPointer
-
Sets the main node (JSONObject) of the JSONPointer.
- setNode(JSONObject) - Method in class dev.iahmadgad.json.JSONPointer
-
Sets the main node (JSONArray) of the JSONPointer.
- setNode(ArrayList<Object>) - Method in class dev.iahmadgad.json.JSONArray
- setSpaceAroundColon(int) - Method in class dev.iahmadgad.json.JSONArray
-
Sets space around colon with some int value.
- setSpaceAroundColon(int) - Method in class dev.iahmadgad.json.JSONObject
-
Sets space around colon with some int value.
- setSpaceAroundColon(JSONEnum) - Method in class dev.iahmadgad.json.JSONArray
-
Sets space around colon with some Enum value.
- setSpaceAroundColon(JSONEnum) - Method in class dev.iahmadgad.json.JSONObject
-
Sets space around colon with some Enum value.
- setStringDefault() - Method in class dev.iahmadgad.json.JSONArray
-
Sets all String settings to their defaults.
- setStringDefault() - Method in class dev.iahmadgad.json.JSONObject
-
Sets all String settings to their defaults.
- size() - Method in class dev.iahmadgad.json.JSONArray
-
Returns the size of the main ArrayList that stores JSONArray values.
- spaceAroundColon - Variable in class dev.iahmadgad.json.JSONArray
-
Indentation and space around colon in the String.
- spaceAroundColon - Variable in class dev.iahmadgad.json.JSONObject
-
Indentation and space around colon in the String.
T
- toArray() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java array.
- toArray(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to array.
- toArray(T[]) - Method in class dev.iahmadgad.json.JSONArray
-
Converts the JSONArray to a Java array.
- toArrayList(List<T>) - Method in class dev.iahmadgad.json.Converter
-
Converts list to ArrayList.
- toArrayList(T[]) - Method in class dev.iahmadgad.json.Converter
-
Converts array to ArrayList.
- toBooleanArray() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java boolean array.
- toBooleanArray(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to array of booleans.
- toBooleanList() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java boolean String list.
- toBooleanList(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to list of Booleans
- toClass(JSONObject, Class<T>) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONObject to Java object.
- toClass(Class<T>) - Method in class dev.iahmadgad.json.JSONObject
-
Converts the JSONObject to a Java Object.
- toDoubleArray() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java double array.
- toDoubleArray(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to array of doubles.
- toDoubleList() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java Double list.
- toDoubleList(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to list of Doubles.
- toIntArray() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java int array.
- toIntArray(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to array of ints.
- toIntegerList() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java Integer list.
- toIntegerList(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to list of Integers.
- toJSONArray(List<T>) - Method in class dev.iahmadgad.json.Converter
-
Converts list to JSONArray.
- toJSONArray(T[]) - Method in class dev.iahmadgad.json.Converter
-
Converts array to JSONArray.
- toJSONObject(Class<?>, T) - Method in class dev.iahmadgad.json.Converter
-
Converts Java object to JSONObject.
- toList() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java list.
- toList(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to list
- toString() - Method in class dev.iahmadgad.json.JSONArray
-
Returns a string representation of the JSONArray.
- toString() - Method in class dev.iahmadgad.json.JSONObject
-
Returns a string representation of the JSONObject.
- toStringArray() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java String array.
- toStringArray(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to array of Strings
- toStringList() - Method in class dev.iahmadgad.json.JSONArray
-
Converts JSONArray to a Java String list.
- toStringList(JSONArray) - Method in class dev.iahmadgad.json.Converter
-
Converts JSONArray to list of Strings
V
- Validator - Class in dev.iahmadgad.json
-
Validator Class.
- Validator() - Constructor for class dev.iahmadgad.json.Validator
- valueOf(String) - Static method in enum class dev.iahmadgad.json.JSONEnum
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.iahmadgad.json.JSONEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- write(File) - Method in class dev.iahmadgad.json.JSONObject
-
Writes the JSONObject in a file.
All Classes and Interfaces|All Packages