mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
fix toString(JSONArray) to emit object.toString() values
This commit is contained in:
parent
9b6872b6e5
commit
d6ba31819c
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue