diff options
author | Erik Michaels-Ober <sferik@gmail.com> | 2012-10-05 09:11:36 -0700 |
---|---|---|
committer | Erik Michaels-Ober <sferik@gmail.com> | 2012-10-05 09:11:51 -0700 |
commit | 9f43acbaff619d813b5a96b7e303b4876dbdf9b9 (patch) | |
tree | 4bfbbf8dc3e2f14efe8fda5e41c2f44e59dd4429 /java/src/json/ext/Parser.java | |
parent | 01a5165bee5c8cf199e37b3ccc90f1f824d41783 (diff) | |
download | json-9f43acbaff619d813b5a96b7e303b4876dbdf9b9.tar.gz |
Increase default max_nesting to 100
See discussion at https://github.com/intridea/multi_json/pull/59.
Diffstat (limited to 'java/src/json/ext/Parser.java')
-rw-r--r-- | java/src/json/ext/Parser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/json/ext/Parser.java b/java/src/json/ext/Parser.java index 5ba13ad..49e5315 100644 --- a/java/src/json/ext/Parser.java +++ b/java/src/json/ext/Parser.java @@ -58,7 +58,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 |