Repository navigation
v0.49.0
LoneJSON 0.49.0 adds a push-fed JSON value visitor for producers and consumers that need to pause and resume without buffering whole values.
- Open a
lonejson_value_visitor_streamthrough the runtime receiver or the corresponding free function. Itspush,finish, andclosemethods reuse the existing visitor callbacks. LONEJSON_STATUS_PAUSEDmeans the callback accepted the event. Resume with the unconsumed input after the downstream consumer is ready; accepted events are not replayed.- Strings and keys are decoded incrementally with strict UTF-8 and Unicode surrogate validation. Number scanning respects the configured byte limit, and callback errors preserve the parser's input position.
- Includes a bounded-output example and regression coverage in
make finalize-slice.
ABI change: the runtime receiver gains value_visitor_stream_open. The shared-library ABI advances from 28 to 29. Rebuild downstream consumers with matching headers and library.
The signed release passed the complete clean local gate: Debug, ASan, TSan, Valgrind, service integration, fuzz smoke, all six Linux release targets, source reconstruction, and final artifact verification. Darwin artifacts were cross-built and inspected locally with osxcross; native macOS execution was not performed. The benchmark gate was skipped because this host has no frozen baseline.
The checksum manifest covers all 13 payloads. SDKs, a Darwin smoke-test bundle, source, the standalone header, and Lua release artifacts are included.