We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4929fc9 commit d2cb38dCopy full SHA for d2cb38d
src/main/java/org/json/JSONParserConfiguration.java
@@ -4,6 +4,15 @@
4
* Configuration object for the JSON parser. The configuration is immutable.
5
*/
6
public class JSONParserConfiguration extends ParserConfiguration {
7
+
8
+ /** Original Configuration of the JSON Parser. */
9
+ public static final JSONParserConfiguration ORIGINAL
10
+ = new JSONParserConfiguration();
11
12
+ /** Original configuration of the JSON Parser except that values are kept as strings. */
13
+ public static final JSONParserConfiguration KEEP_STRINGS
14
+ = new JSONParserConfiguration().withKeepStrings(true);
15
16
/**
17
* Used to indicate whether to overwrite duplicate key or not.
18
0 commit comments