diff options
-rw-r--r-- | src/json/ext/GeneratorState.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json/ext/GeneratorState.java b/src/json/ext/GeneratorState.java index d32cebb..c5a8d15 100644 --- a/src/json/ext/GeneratorState.java +++ b/src/json/ext/GeneratorState.java @@ -181,6 +181,7 @@ public class GeneratorState extends RubyObject { this.maxNesting = orig.maxNesting; this.allowNaN = orig.allowNaN; this.asciiOnly = orig.asciiOnly; + this.depth = orig.depth; return this; } |