From 86128f517d01a3ececd640634e8f6acbda88dbc1 Mon Sep 17 00:00:00 2001 From: Florian Frank Date: Sun, 7 Oct 2012 07:52:59 +0200 Subject: Change actual rl files --- java/src/json/ext/Parser.java | 2 +- java/src/json/ext/Parser.rl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'java/src') 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 { *
:max_nesting *
The maximum depth of nesting allowed in the parsed data * structures. Disable depth checking with :max_nesting => false|nil|0, - * it defaults to 19. + * it defaults to 100. * *
:allow_nan *
If set to true, allow NaN, 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 { *
:max_nesting *
The maximum depth of nesting allowed in the parsed data * structures. Disable depth checking with :max_nesting => false|nil|0, - * it defaults to 19. + * it defaults to 100. * *
:allow_nan *
If set to true, allow NaN, -- cgit v1.2.1