--- a/src/json.c Thu Dec 26 19:26:37 2024 +0100
+++ b/src/json.c Thu Dec 26 20:33:06 2024 +0100
@@ -714,6 +714,7 @@
v->type = CX_JSON_STRING;
cxmutstr s = cx_strdup_a(allocator, str);
if (s.ptr == NULL) { cxFree(allocator, v); return NULL; }
+ v->value.string = s;
return v;
}