mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
feat(#871-strictMode): added ORIGINAL implementation to JSONParserConfiguration
This commit is contained in:
parent
4929fc99c1
commit
d2cb38dba7
@ -4,6 +4,15 @@ package org.json;
|
||||
* Configuration object for the JSON parser. The configuration is immutable.
|
||||
*/
|
||||
public class JSONParserConfiguration extends ParserConfiguration {
|
||||
|
||||
/** Original Configuration of the JSON Parser. */
|
||||
public static final JSONParserConfiguration ORIGINAL
|
||||
= new JSONParserConfiguration();
|
||||
|
||||
/** Original configuration of the JSON Parser except that values are kept as strings. */
|
||||
public static final JSONParserConfiguration KEEP_STRINGS
|
||||
= new JSONParserConfiguration().withKeepStrings(true);
|
||||
|
||||
/**
|
||||
* Used to indicate whether to overwrite duplicate key or not.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user