diff -r ef2f47fc5f0c -r c1e17411004f src/json.c --- a/src/json.c Sat Dec 13 16:41:10 2025 +0100 +++ b/src/json.c Sat Dec 13 16:47:07 2025 +0100 @@ -1444,7 +1444,7 @@ } int cxJsonCompare(const CxJsonValue *json, const CxJsonValue *other) { - if (json == NULL && other == NULL) return 0; + if (json == other) return 0; if (json == NULL || other == NULL) return -1; if (json->type != other->type) { if (!cxJsonIsNumber(json)) return -1;