Skip to content

Commit

Permalink
fix toString(JSONArray) to emit object.toString() values
Browse files Browse the repository at this point in the history
  • Loading branch information
stleary committed Apr 19, 2015
1 parent 9b6872b commit d6ba318
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions JSONML.java
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ public static String toString(JSONArray ja) throws JSONException {
sb.append(toString((JSONObject)object));
} else if (object instanceof JSONArray) {
sb.append(toString((JSONArray)object));
} else {
sb.append(object.toString());
}
}
} while (i < length);
Expand Down

0 comments on commit d6ba318

Please sign in to comment.