Mercurial Hosting > luan
changeset 1836:e4440c286af6
json fix
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 17 Jan 2025 21:12:20 -0700 |
parents | 0288edd8f99b |
children | 318068396976 |
files | src/goodjava/json/JsonToString.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
diff -r 0288edd8f99b -r e4440c286af6 src/goodjava/json/JsonToString.java --- a/src/goodjava/json/JsonToString.java Fri Jan 17 20:29:43 2025 -0700 +++ b/src/goodjava/json/JsonToString.java Fri Jan 17 21:12:20 2025 -0700 @@ -66,6 +66,9 @@ case '\t': sb.append("\\t"); break; + case 0: + sb.append("\\u0000"); + break; default: sb.append(c); }