mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 11:25:30 -04:00
fix toString(JSONArray) to emit object.toString() values
This commit is contained in:
parent
9b6872b6e5
commit
d6ba31819c
@ -373,6 +373,8 @@ public class JSONML {
|
|||||||
sb.append(toString((JSONObject)object));
|
sb.append(toString((JSONObject)object));
|
||||||
} else if (object instanceof JSONArray) {
|
} else if (object instanceof JSONArray) {
|
||||||
sb.append(toString((JSONArray)object));
|
sb.append(toString((JSONArray)object));
|
||||||
|
} else {
|
||||||
|
sb.append(object.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while (i < length);
|
} while (i < length);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user