Mercurial Hosting > luan
diff src/goodjava/json/JsonToString.java @ 1620:99a8ac891914
JsonToString minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 25 Jul 2021 18:59:23 -0600 |
parents | f989778ca9e1 |
children |
line wrap: on
line diff
--- 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(); }