File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Open diff view settings
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Open diff view settings
Original file line number Diff line number Diff line change @@ -69,15 +69,13 @@ of this software and associated documentation files (the "Software"), to deal
6969 * <li>Strings do not need to be quoted at all if they do not begin with a quote
7070 * or single quote, and if they do not contain leading or trailing spaces, and
7171 * if they do not contain any of these characters:
72- * <code>{ } [ ] / \ : , = ; #</code> and if they do not look like numbers and
72+ * <code>{ } [ ] / \ : , #</code> and if they do not look like numbers and
7373 * if they are not the reserved words <code>true</code>, <code>false</code>, or
7474 * <code>null</code>.</li>
75- * <li>Values can be separated by <code>;</code> <small>(semicolon)</small> as
76- * well as by <code>,</code> <small>(comma)</small>.</li>
7775 * </ul>
7876 *
7977 * @author JSON.org
80- * @version 2012-11-13
78+ * @version 2013-04-18
8179 */
8280public class JSONArray {
8381
@@ -117,7 +115,6 @@ public JSONArray(JSONTokener x) throws JSONException {
117115 this .myArrayList .add (x .nextValue ());
118116 }
119117 switch (x .nextClean ()) {
120- case ';' :
121118 case ',' :
122119 if (x .nextClean () == ']' ) {
123120 return ;
You can’t perform that action at this time.
0 commit comments