py_yyjson icon indicating copy to clipboard operation
py_yyjson copied to clipboard

Expose yyjson_doc_get_read_size?

Open dsully opened this issue 4 months ago • 0 comments

Hi - for reading NDJSON / JSONL files with ReaderFlags.STOP_WHEN_DONE - is not extremely easy as the read size that yyjson consumed is not available for the caller.

yyjson_doc_get_read_size() can do this- Perhaps as a .size or .read_bytes on Document ?

Thanks

dsully avatar Jul 08 '25 15:07 dsully