Uses of Class
org.json.JSONParserConfiguration
-
Uses of JSONParserConfiguration in org.json
Fields in org.json declared as JSONParserConfigurationModifier and TypeFieldDescriptionprivate JSONParserConfigurationJSONTokener.jsonParserConfigurationMethods 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 TypeMethodDescriptionprivate voidJSONArray.addAll(Object array, boolean wrap, int recursionDepth, JSONParserConfiguration jsonParserConfiguration) Add an array's elements to the JSONArray.private voidJSONArray.addAll(Collection<?> collection, boolean wrap, int recursionDepth, JSONParserConfiguration jsonParserConfiguration) Add a collection's elements to the JSONArray.private static booleanJSONArray.checkForSyntaxError(JSONTokener x, JSONParserConfiguration jsonParserConfiguration, boolean isInitial) Convenience function.private static voidJSONObject.checkKeyForStrictMode(JSONTokener jsonTokener, JSONParserConfiguration jsonParserConfiguration, Object obj) Throws error if key violates strictModeprivate static booleanJSONObject.parseEndOfKeyValuePair(JSONTokener jsonTokener, JSONParserConfiguration jsonParserConfiguration, boolean isInitial) Checks for valid end of key:value pairprivate booleanJSONObject.parseJSONObject(JSONTokener jsonTokener, JSONParserConfiguration jsonParserConfiguration, boolean isInitial) Parses entirety of JSON objectprivate voidJSONObject.populateMap(Object bean, Set<Object> objectsRecord, JSONParserConfiguration jsonParserConfiguration) Convert a bean into a json objectprivate voidJSONObject.populateMap(Object bean, JSONParserConfiguration jsonParserConfiguration) Populates the internal map of the JSONObject with the bean properties.private voidJSONObject.processMethod(Object bean, Set<Object> objectsRecord, JSONParserConfiguration jsonParserConfiguration, Method method, String key) Processes method into json object entry if appropriateJSONArray.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 used(package private) static ObjectJSONObject.wrap(Object object, int recursionDepth, JSONParserConfiguration jsonParserConfiguration) Wrap an object, if necessary.private static ObjectJSONObject.wrap(Object object, Set<Object> objectsRecord, int recursionDepth, JSONParserConfiguration jsonParserConfiguration) Constructors in org.json with parameters of type JSONParserConfigurationModifierConstructorDescriptionJSONArray(String source, JSONParserConfiguration jsonParserConfiguration) Construct a JSONArray from a source JSON text.(package private)JSONArray(Collection<?> collection, int recursionDepth, JSONParserConfiguration jsonParserConfiguration) Construct a JSONArray from a collection with recursion depth.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.privateJSONObject(Map<?, ?> m, int recursionDepth, JSONParserConfiguration jsonParserConfiguration) Construct a JSONObject from a map with recursion depth.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.