Index
All Classes|All Packages
A
- asArray() - Method in class net.diversionmc.json.JSON.JSONValue
-
Try to convert this value to
JSON.JSONArray. - asNumber() - Method in class net.diversionmc.json.JSON.JSONValue
-
Try to convert this value to
JSON.JSONNumber. - asObject() - Method in class net.diversionmc.json.JSON.JSONValue
-
Try to convert this value to
JSON.JSONObject. - asString() - Method in class net.diversionmc.json.JSON.JSONValue
-
Try to convert this value to
JSON.JSONString.
C
- content() - Method in class net.diversionmc.json.JSON.JSONString
-
Get content of this JSONString.
F
- from(Object) - Static method in class net.diversionmc.json.JSON
-
Convert an arbitrary object into JSON.
J
- JSON - Class in net.diversionmc.json
-
Simple
Parserexample which parses JSON files intoJSON.JSONValueobjects. - JSON() - Constructor for class net.diversionmc.json.JSON
- JSON.JSONArray - Class in net.diversionmc.json
-
Parsed JSON array that stores a list of
JSON.JSONValue. - JSON.JSONNumber - Class in net.diversionmc.json
-
Parsed JSON number, as a double value.
- JSON.JSONObject - Class in net.diversionmc.json
-
Parsed JSON object that stores key-
JSON.JSONValuepairs. - JSON.JSONString - Class in net.diversionmc.json
-
Parsed JSON string, or stored values true, false or null.
- JSON.JSONValue - Class in net.diversionmc.json
-
Parsed JSON value that stores any data.
- JSONArray(FilePointer, List<JSON.JSONValue>) - Constructor for class net.diversionmc.json.JSON.JSONArray
-
Construct a JSON Array [value,...]
- JSONNumber(FilePointer, double) - Constructor for class net.diversionmc.json.JSON.JSONNumber
-
Construct a JSON Number.
- JSONObject(FilePointer, Map<String, JSON.JSONValue>) - Constructor for class net.diversionmc.json.JSON.JSONObject
-
Construct a JSON Object {"key":value,...}
- JSONString(FilePointer, String) - Constructor for class net.diversionmc.json.JSON.JSONString
-
Construct a JSON String "text..."
- JSONValue(FilePointer) - Constructor for class net.diversionmc.json.JSON.JSONValue
-
Construct a JSON Value.
N
- net.diversionmc.json - package net.diversionmc.json
- number() - Method in class net.diversionmc.json.JSON.JSONNumber
-
Get content of this JSONNumber.
P
- parse(String) - Static method in class net.diversionmc.json.JSON
-
Convert a string into a JSONValue.
T
- toString() - Method in class net.diversionmc.json.JSON.JSONArray
-
Serialize current JSONArray back to JSON.
- toString() - Method in class net.diversionmc.json.JSON.JSONNumber
-
Serialize number back to JSON.
- toString() - Method in class net.diversionmc.json.JSON.JSONObject
-
Serialize current JSONObject back to JSON.
- toString() - Method in class net.diversionmc.json.JSON.JSONString
-
Serialize current JSONArray back to JSON.
V
- values() - Method in class net.diversionmc.json.JSON.JSONArray
-
Get all values stored in this array.
- values() - Method in class net.diversionmc.json.JSON.JSONObject
-
Get all values stored in the current JSONObject.
All Classes|All Packages