--- a/src/json.c Sat Nov 02 19:27:45 2024 +0100 +++ b/src/json.c Sat Nov 02 19:37:59 2024 +0100 @@ -599,11 +599,12 @@ free(p->value_str); } -void cxJsonFill(CxJson *p, const char *buf, size_t size) { +int cxJsonFilln(CxJson *p, const char *buf, size_t size) { // TODO: implement rescue buffer like in CxProperties to allow subsequent fills p->buffer = buf; p->size = size; p->pos = 0; + return 0; } int cxJsonNext(CxJson *p, CxJsonValue **value) {