diff options
author | Florian Frank <flori@ping.de> | 2012-10-07 07:52:59 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2012-10-07 07:52:59 +0200 |
commit | 86128f517d01a3ececd640634e8f6acbda88dbc1 (patch) | |
tree | 84e7444f1ec08fe164c67f587b41bd59d5146082 /java | |
parent | 9f43acbaff619d813b5a96b7e303b4876dbdf9b9 (diff) | |
download | json-86128f517d01a3ececd640634e8f6acbda88dbc1.tar.gz |
Change actual rl filessferik-max_nesting
Diffstat (limited to 'java')
-rw-r--r-- | java/src/json/ext/Parser.java | 2 | ||||
-rw-r--r-- | java/src/json/ext/Parser.rl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/java/src/json/ext/Parser.java b/java/src/json/ext/Parser.java index 49e5315..ab3585e 100644 --- a/java/src/json/ext/Parser.java +++ b/java/src/json/ext/Parser.java @@ -113,7 +113,7 @@ public class Parser extends RubyObject { * <dt><code>:max_nesting</code> * <dd>The maximum depth of nesting allowed in the parsed data * structures. Disable depth checking with <code>:max_nesting => false|nil|0</code>, - * it defaults to 19. + * it defaults to 100. * * <dt><code>:allow_nan</code> * <dd>If set to <code>true</code>, allow <code>NaN</code>, diff --git a/java/src/json/ext/Parser.rl b/java/src/json/ext/Parser.rl index 73062cf..e26637d 100644 --- a/java/src/json/ext/Parser.rl +++ b/java/src/json/ext/Parser.rl @@ -56,7 +56,7 @@ public class Parser extends RubyObject { private RubyClass arrayClass; private RubyHash match_string; - private static final int DEFAULT_MAX_NESTING = 19; + private static final int DEFAULT_MAX_NESTING = 100; private static final ByteList JSON_MINUS_INFINITY = new ByteList(ByteList.plain("-Infinity")); // constant names in the JSON module containing those values @@ -111,7 +111,7 @@ public class Parser extends RubyObject { * <dt><code>:max_nesting</code> * <dd>The maximum depth of nesting allowed in the parsed data * structures. Disable depth checking with <code>:max_nesting => false|nil|0</code>, - * it defaults to 19. + * it defaults to 100. * * <dt><code>:allow_nan</code> * <dd>If set to <code>true</code>, allow <code>NaN</code>, |