diff options
Diffstat (limited to '')
-rw-r--r-- | src/json/print.c | 2 | ||||
-rw-r--r-- | src/json/read.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/json/print.c b/src/json/print.c index 9f2931f..ab154b9 100644 --- a/src/json/print.c +++ b/src/json/print.c @@ -160,7 +160,7 @@ static bool json_print_data(const tag_t *tag, const stream_t *stream, int depth) static bool json_print_impl(const tag_t *tag, const stream_t *stream, int depth) { if (tag->name_len > 0) { - printi(stream, depth, "\"%.*s\":\t", tag->name_len, tag->name); + printi(stream, depth, "\"%.*s\": ", tag->name_len, tag->name); } else { for (int i = 0; i < depth; i++) printi(stream, 0, "\t"); diff --git a/src/json/read.c b/src/json/read.c index 50a5fd1..dbb246a 100644 --- a/src/json/read.c +++ b/src/json/read.c @@ -627,7 +627,6 @@ static bool json_read_value(tag_t *tag, const stream_t *stream, token_t *first) return ok; } - bool json_read(tag_t *tag, const stream_t *stream) { return json_read_value(tag, stream, NULL); } |