commit | af4a5db16d97b0a1adf4efcb697d10f94086ab7e | [log] [tgz] |
---|---|---|
author | Igor Ryzhov <iryzhov@nfware.com> | Fri Jan 26 01:19:39 2024 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Jan 29 09:51:07 2024 +0100 |
tree | b02743dd44f85e4d4bc765b1dcbcfef8d74307cc | |
parent | d73f43b8ee913d83d41687da801d146dd80d7db1 [diff] [blame] |
printer json BUGFIX indentation for "null" metadata Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
diff --git a/src/printer_json.c b/src/printer_json.c index eabb56c..c94a765 100644 --- a/src/printer_json.c +++ b/src/printer_json.c
@@ -868,7 +868,7 @@ LEVEL_DEC; ly_print_(pctx->out, "%s%*s}", DO_FORMAT ? "\n" : "", INDENT); } else { - ly_print_(pctx->out, "null"); + ly_print_(pctx->out, "%*snull", INDENT); } LEVEL_PRINTED; if (!matching_node(iter, iter->next)) {