mirror of
https://github.com/stleary/JSON-java.git
synced 2026-03-17 00:03:39 -04:00
force strict mode to expose failing tests
This commit is contained in:
@@ -28,6 +28,10 @@ public class JSONParserConfiguration extends ParserConfiguration {
|
|||||||
*/
|
*/
|
||||||
public JSONParserConfiguration() {
|
public JSONParserConfiguration() {
|
||||||
super();
|
super();
|
||||||
|
// TODO: Force strict mode to true, unless otherwise set by .withStrictMode()
|
||||||
|
// This will be replaced with a later change that executes test runs with and without strict mode.
|
||||||
|
// This change will cause many of the unit tests to fail.
|
||||||
|
this.strictMode = true;
|
||||||
this.overwriteDuplicateKey = false;
|
this.overwriteDuplicateKey = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user