mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-10 12:34:30 +08:00
feat(#871-strictMode): add allowSingleQuote option, add enhancements and simplification
This commit is contained in:
@@ -113,11 +113,7 @@ public class JSONArray implements Iterable<Object> {
|
||||
this.myArrayList.add(JSONObject.NULL);
|
||||
} else {
|
||||
x.back();
|
||||
if (jsonParserConfiguration.isStrictMode()) {
|
||||
this.myArrayList.add(x.nextValue(true));
|
||||
} else {
|
||||
this.myArrayList.add(x.nextValue());
|
||||
}
|
||||
this.myArrayList.add(x.nextValue(jsonParserConfiguration));
|
||||
}
|
||||
switch (x.nextClean()) {
|
||||
case 0:
|
||||
|
Reference in New Issue
Block a user