You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strict mode now works for JSONArray (see #877), but not for JSONObject or for JSONArrays embedded in JSONObjects.
For example, the following code parses without error:
String str = "{\"a\": [b]}";
JSONObject jsonObject = new JSONObject(str, new JSONParserConfiguration().withStrictMode(true));
Several additional changes should be included with the PR:
The indentation in nextString(char, boolean) is incorrect.
Strict mode now works for JSONArray (see #877), but not for JSONObject or for JSONArrays embedded in JSONObjects.
For example, the following code parses without error:
Several additional changes should be included with the PR:
There is a compiler warning in JSONTokener that should be fixed:(fixed in add javadoc for strictmode #886)The text was updated successfully, but these errors were encountered: