--- a/src/cx/json.h Tue Feb 11 21:05:24 2025 +0100 +++ b/src/cx/json.h Tue Feb 11 21:19:20 2025 +0100 @@ -491,8 +491,7 @@ /** * Writes a JSON value to a buffer or stream. * - * This function blocks until all data is written or an error when trying - * to write data occurs. + * This function blocks until either all data is written, or an error occurs. * The write operation is not atomic in the sense that it might happen * that the data is only partially written when an error occurs with no * way to indicate how much data was written.