mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-08 11:34:43 +08:00
Merge pull request #942 from michael-ameri/fix-clone
add missing fields when cloning JSONParserConfiguration
This commit is contained in:
@@ -27,7 +27,9 @@ public class JSONParserConfiguration extends ParserConfiguration {
|
||||
protected JSONParserConfiguration clone() {
|
||||
JSONParserConfiguration clone = new JSONParserConfiguration();
|
||||
clone.overwriteDuplicateKey = overwriteDuplicateKey;
|
||||
clone.strictMode = strictMode;
|
||||
clone.maxNestingDepth = maxNestingDepth;
|
||||
clone.keepStrings = keepStrings;
|
||||
return clone;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user