Uses of Class
org.json.JSONParserConfiguration
-
Uses of JSONParserConfiguration in org.json
Fields in org.json declared as JSONParserConfigurationModifier and TypeFieldDescriptionprivate JSONParserConfiguration
JSONTokener.jsonParserConfiguration
Methods in org.json that return JSONParserConfigurationModifier and TypeMethodDescriptionprotected JSONParserConfiguration
JSONParserConfiguration.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 aCollection
instance 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 void
JSONArray.addAll
(Object array, boolean wrap, int recursionDepth, JSONParserConfiguration jsonParserConfiguration) Add an array's elements to the JSONArray.private void
JSONArray.addAll
(Collection<?> collection, boolean wrap, int recursionDepth, JSONParserConfiguration jsonParserConfiguration) Add a collection's elements to the JSONArray.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.void
JSONTokener.setJsonParserConfiguration
(JSONParserConfiguration jsonParserConfiguration) Deprecated.method should not be used(package private) static Object
JSONObject.wrap
(Object object, int recursionDepth, JSONParserConfiguration jsonParserConfiguration) Wrap an object, if necessary.private static Object
JSONObject.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
(String source, JSONParserConfiguration jsonParserConfiguration) Construct a JSONObject from a source JSON text string with custom json parse configurations.private
JSONObject
(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.