work on json a little, other tweaking

This commit is contained in:
Ben Fry
2013-04-11 08:08:50 -04:00
parent d420268c25
commit f8ef0c1be1
4 changed files with 402 additions and 391 deletions

View File

@@ -107,7 +107,7 @@ public class JSONArray {
* @param x A JSONTokener
* @throws JSONException If there is a syntax error.
*/
private JSONArray(JSONTokener x) {
protected JSONArray(JSONTokener x) {
this();
if (x.nextClean() != '[') {
throw new RuntimeException("A JSONArray text must start with '['");