You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're right, this is a missing feature. It shouldn't be too hard to add.
One thing to note: the required buffer size may be larger than the final JSON length. For example, serializing "abc" needs 5 bytes (3 + 2), but the JSON writer would need to reserve 20 bytes (3 * 6 + 2) of space.
currently, cann't pass dest buffer :
yyjson_mut_write(doc, 0, &len);
can yyjson_mut_write supported dest buffer
char* dest; // buffer
yyjson_mut_write(doc, 0, &len, dest);
The text was updated successfully, but these errors were encountered: