renaming and starting to make the mess

This commit is contained in:
benfry
2012-12-10 23:40:29 +00:00
parent edab71ce46
commit 61c58d9ec4
5 changed files with 171 additions and 165 deletions

View File

@@ -360,7 +360,7 @@ public class JSONTokener {
return this.nextString(c);
case '{':
this.back();
return new JSONObject(this);
return new JSON(this);
case '[':
this.back();
return new JSONArray(this);
@@ -386,7 +386,7 @@ public class JSONTokener {
if ("".equals(string)) {
throw this.syntaxError("Missing value");
}
return JSONObject.stringToValue(string);
return JSON.stringToValue(string);
}