mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
fix(#901): add the jsonparserConfiguration param to avoid a stackoverflow error
This commit is contained in:
parent
0d71dcf713
commit
14e9cdc485
@ -2001,7 +2001,7 @@ public class JSONArray implements Iterable<Object> {
|
||||
// JSONArray
|
||||
this.myArrayList.addAll(((JSONArray)array).myArrayList);
|
||||
} else if (array instanceof Collection) {
|
||||
this.addAll((Collection<?>)array, wrap, recursionDepth);
|
||||
this.addAll((Collection<?>)array, wrap, recursionDepth, jsonParserConfiguration);
|
||||
} else if (array instanceof Iterable) {
|
||||
this.addAll((Iterable<?>)array, wrap);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user