Uses of Class
org.json.JSONParserConfiguration
-
Uses of JSONParserConfiguration in org.json
Methods in org.json that return JSONParserConfigurationModifier and TypeMethodDescriptionprotected JSONParserConfigurationJSONParserConfiguration.clone()JSONTokener.getJsonParserConfiguration()GetterJSONParserConfiguration.withMaxNestingDepth(int maxNestingDepth) Defines the maximum nesting depth that the parser will descend before throwing an exception when parsing a map into JSONObject or parsing aCollectioninstance into JSONArray.JSONParserConfiguration.withOverwriteDuplicateKey(boolean overwriteDuplicateKey) Controls the parser's behavior when meeting duplicate keys.JSONParserConfiguration.withStrictMode()Sets the strict mode configuration for the JSON parser with default true valueJSONParserConfiguration.withStrictMode(boolean mode) Sets the strict mode configuration for the JSON parser.JSONParserConfiguration.withUseNativeNulls(boolean useNativeNulls) Controls the parser's behavior when meeting Java null values while converting maps.Methods in org.json with parameters of type JSONParserConfigurationModifier and TypeMethodDescriptionJSONArray.getBigInteger(int index, JSONParserConfiguration jsonParserConfiguration) Get the BigInteger value associated with an index.JSONObject.getBigInteger(String key, JSONParserConfiguration jsonParserConfiguration) Get the BigInteger value associated with a key.JSONArray.optBigInteger(int index, BigInteger defaultValue, JSONParserConfiguration jsonParserConfiguration) Get the optional BigInteger value associated with an index.JSONObject.optBigInteger(String key, 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.JSONArray.put(int index, Map<?, ?> value, JSONParserConfiguration jsonParserConfiguration) Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map.voidJSONTokener.setJsonParserConfiguration(JSONParserConfiguration jsonParserConfiguration) Deprecated.method should not be usedstatic ObjectJSONObject.stringToValue(String string, JSONParserConfiguration jsonParserConfiguration) Try to convert a string into a number, boolean, or null.Constructors in org.json with parameters of type JSONParserConfigurationModifierConstructorDescriptionJSONArray(String source, JSONParserConfiguration jsonParserConfiguration) Construct a JSONArray from a source JSON text.JSONArray(Collection<?> collection, JSONParserConfiguration jsonParserConfiguration) Construct a JSONArray from a Collection.JSONArray(JSONTokener x, JSONParserConfiguration jsonParserConfiguration) Constructs a JSONArray from a JSONTokener and a JSONParserConfiguration.JSONObject(Object bean, JSONParserConfiguration jsonParserConfiguration) JSONObject(String source, JSONParserConfiguration jsonParserConfiguration) Construct a JSONObject from a source JSON text string with custom json parse configurations.JSONObject(Map<?, ?> m, JSONParserConfiguration jsonParserConfiguration) Construct a JSONObject from a Map with custom json parse configurations.JSONObject(JSONTokener x, JSONParserConfiguration jsonParserConfiguration) Construct a JSONObject from a JSONTokener with custom json parse configurations.JSONTokener(InputStream inputStream, JSONParserConfiguration jsonParserConfiguration) Construct a JSONTokener from an InputStream.JSONTokener(Reader reader, JSONParserConfiguration jsonParserConfiguration) Construct a JSONTokener from a Reader with a given JSONParserConfiguration.JSONTokener(String source, JSONParserConfiguration jsonParserConfiguration) Construct a JSONTokener from an InputStream.