Strip JSONTokener#isAtStart()

This commit is contained in:
XIAYM-gh
2026-09-11 03:57:03 +08:00
parent 359b43d8df
commit a25f83a0e4
3 changed files with 2 additions and 24 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ public class JSONObject {
* duplicated key.
*/
public JSONObject(JSONTokener x, JSONParserConfiguration jsonParserConfiguration) throws JSONException {
this(x, jsonParserConfiguration, x.isAtStart());
this(x, jsonParserConfiguration, true);
}
/**