commit | 5e2742d0eb945b3c60216ebcfd13448cd3c7b881 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu May 25 10:01:42 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu May 25 10:01:42 2023 +0200 |
tree | ad0535a0f96014f719f8270e0c410cd72b67f2eb | |
parent | 7730e3064181d90e08017af6f1dcd97dcf268f5e [diff] [blame] |
printer json BUGFIX escaped chars in opaque value Fixes #2034
diff --git a/src/printer_json.c b/src/printer_json.c index d73adca..98671d9 100644 --- a/src/printer_json.c +++ b/src/printer_json.c
@@ -908,7 +908,7 @@ ly_print_(pctx->out, "%s", node->value); } else { /* string or a large number */ - ly_print_(pctx->out, "\"%s\"", node->value); + json_print_string(pctx->out, node->value); } LEVEL_PRINTED;