mirror of
https://github.com/json-c/json-c.git
synced 2026-11-06 05:30:17 +08:00
still waiting for more data, and also after read() failures. Finalize the tokener at EOF with the terminating NUL so valid scalar values can complete, while rejecting genuinely truncated input. Also propagate read errors to the caller and add CLI regression tests.