Update printer_json.c

modify the conditon of control characters
diff --git a/src/printer_json.c b/src/printer_json.c
index 938523a..7627110 100644
--- a/src/printer_json.c
+++ b/src/printer_json.c
@@ -41,7 +41,7 @@
 
     ly_write(out, "\"", 1);
     for (i = n = 0; text[i]; i++) {
-        if (text[i] < 0x20) {
+        if (text[i] >= 0 && text[i] < 0x20) {
             /* control character */
             n += ly_print(out, "\\u%.4X");
         } else {