From eb35c33dd584bd9722a44d6e2ef733133a40a1de Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Mon, 16 Dec 2024 18:51:25 +0800 Subject: [PATCH] ... --- src/modules/json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/json.c b/src/modules/json.c index c3fdab68..dd139a33 100644 --- a/src/modules/json.c +++ b/src/modules/json.c @@ -53,7 +53,7 @@ static bool json__write_dict_kv(py_Ref k, py_Ref v, void* ctx_) { ctx->first = false; if(!py_isstr(k)) return TypeError("keys must be strings"); c11_sbuf__write_quoted(ctx->buf, py_tosv(k), '"'); - c11_sbuf__write_char(ctx->buf, ':'); + c11_sbuf__write_cstr(ctx->buf, ": "); return json__write_object(ctx->buf, v); }