mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
force strict mode to expose failing tests
This commit is contained in:
parent
1e3f37be98
commit
4319b71934
@ -28,6 +28,10 @@ public class JSONParserConfiguration extends ParserConfiguration {
|
||||
*/
|
||||
public JSONParserConfiguration() {
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user