--- a/src/json.c Thu Dec 18 16:44:11 2025 +0100 +++ b/src/json.c Thu Dec 18 18:07:29 2025 +0100 @@ -485,7 +485,7 @@ CxJsonValue *parent = json->vbuf.data[json->vbuf.size - 1]; assert(parent != NULL); if (parent->type == CX_JSON_ARRAY) { - if (cx_array_add_a(json->allocator, parent->array, &v)) { + if (cx_array_add_a(json->allocator, parent->array, v)) { goto create_json_value_exit_error; // LCOV_EXCL_LINE } } else if (parent->type == CX_JSON_OBJECT) {