changeset 1620:99a8ac891914

JsonToString minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 25 Jul 2021 18:59:23 -0600
parents 83caee2ed4ad
children a9591906e608
files src/goodjava/json/JsonToString.java
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
diff -r 83caee2ed4ad -r 99a8ac891914 src/goodjava/json/JsonToString.java
--- a/src/goodjava/json/JsonToString.java	Sun Jul 25 18:50:14 2021 -0600
+++ b/src/goodjava/json/JsonToString.java	Sun Jul 25 18:59:23 2021 -0600
@@ -17,8 +17,6 @@
 	public String toString(Object obj) throws JsonException {
 		StringBuilder sb = new StringBuilder();
 		toString(obj,sb,0);
-		if( !compressed )
-			sb.append('\n');
 		return sb.toString();
 	}