Merge pull request #118 from douglascrockford/fix-for-JSONML-toString-JSONArray

fix toString(JSONArray) to emit object.toString() values
This commit is contained in:
Sean Leary 2015-05-02 14:16:13 -05:00
commit b56fe9fea9

View File

@ -373,6 +373,8 @@ public class JSONML {
sb.append(toString((JSONObject)object));
} else if (object instanceof JSONArray) {
sb.append(toString((JSONArray)object));
} else {
sb.append(object.toString());
}
}
} while (i < length);