commit | c5b59afe6884150b8be7aed40d4248de7c8d4bc8 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Nov 03 17:13:41 2020 +0100 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Wed Nov 04 08:51:50 2020 +0100 |
tree | 4eb61779644e7fcfd483d7cbfe7b4fc7690bd56b | |
parent | 916aefbbed2be8db485b2f5c31dc14f284dda441 [diff] |
json printer BUGFIX missing union print
diff --git a/src/printer_json.c b/src/printer_json.c index f67d31f..aaab210 100644 --- a/src/printer_json.c +++ b/src/printer_json.c
@@ -351,6 +351,7 @@ case LY_TYPE_UINT64: case LY_TYPE_DEC64: case LY_TYPE_IDENT: + case LY_TYPE_UNION: json_print_string(ctx->out, value); break;