private void |
JSONArray.addAll(java.lang.Object array,
boolean wrap,
int recursionDepth,
JSONParserConfiguration jsonParserConfiguration) |
Add an array's elements to the JSONArray.
|
private void |
JSONArray.addAll(java.util.Collection<?> collection,
boolean wrap,
int recursionDepth,
JSONParserConfiguration jsonParserConfiguration) |
Add a collection's elements to the JSONArray.
|
private boolean |
JSONArray.checkForSyntaxError(JSONTokener x,
JSONParserConfiguration jsonParserConfiguration,
boolean isInitial) |
Convenience function.
|
private static void |
JSONObject.checkKeyForStrictMode(JSONTokener jsonTokener,
JSONParserConfiguration jsonParserConfiguration,
java.lang.Object obj) |
Throws error if key violates strictMode
|
java.math.BigInteger |
JSONArray.getBigInteger(int index,
JSONParserConfiguration jsonParserConfiguration) |
Get the BigInteger value associated with an index.
|
java.math.BigInteger |
JSONObject.getBigInteger(java.lang.String key,
JSONParserConfiguration jsonParserConfiguration) |
Get the BigInteger value associated with a key.
|
(package private) static java.math.BigInteger |
JSONObject.objectToBigInteger(java.lang.Object val,
java.math.BigInteger defaultValue,
JSONParserConfiguration jsonParserConfiguration) |
|
java.math.BigInteger |
JSONArray.optBigInteger(int index,
java.math.BigInteger defaultValue,
JSONParserConfiguration jsonParserConfiguration) |
Get the optional BigInteger value associated with an index.
|
java.math.BigInteger |
JSONObject.optBigInteger(java.lang.String key,
java.math.BigInteger defaultValue,
JSONParserConfiguration jsonParserConfiguration) |
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.
|
private static boolean |
JSONObject.parseEndOfKeyValuePair(JSONTokener jsonTokener,
JSONParserConfiguration jsonParserConfiguration,
boolean isInitial) |
Checks for valid end of key:value pair
|
private boolean |
JSONObject.parseJSONObject(JSONTokener jsonTokener,
JSONParserConfiguration jsonParserConfiguration,
boolean isInitial) |
Parses entirety of JSON object
|
private void |
JSONObject.populateMap(java.lang.Object bean,
java.util.Set<java.lang.Object> objectsRecord,
JSONParserConfiguration jsonParserConfiguration) |
Convert a bean into a json object
|
private void |
JSONObject.populateMap(java.lang.Object bean,
JSONParserConfiguration jsonParserConfiguration) |
Populates the internal map of the JSONObject with the bean properties.
|
private void |
JSONObject.processMethod(java.lang.Object bean,
java.util.Set<java.lang.Object> objectsRecord,
JSONParserConfiguration jsonParserConfiguration,
java.lang.reflect.Method method,
java.lang.String key) |
Processes method into json object entry if appropriate
|
JSONArray |
JSONArray.put(int index,
java.util.Map<?,?> value,
JSONParserConfiguration jsonParserConfiguration) |
Put a value in the JSONArray, where the value will be a JSONObject that
is produced from a Map.
|
void |
JSONTokener.setJsonParserConfiguration(JSONParserConfiguration jsonParserConfiguration) |
Deprecated.
|
static java.lang.Object |
JSONObject.stringToValue(java.lang.String string,
JSONParserConfiguration jsonParserConfiguration) |
Try to convert a string into a number, boolean, or null.
|
(package private) static java.lang.Object |
JSONObject.wrap(java.lang.Object object,
int recursionDepth,
JSONParserConfiguration jsonParserConfiguration) |
Wrap an object, if necessary.
|
private static java.lang.Object |
JSONObject.wrap(java.lang.Object object,
java.util.Set<java.lang.Object> objectsRecord,
int recursionDepth,
JSONParserConfiguration jsonParserConfiguration) |
|