| 284 | } |
| 285 | |
| 286 | static char *write_reply(yyjson_mut_doc *doc) { |
| 287 | char *reply = yyjson_mut_write_opts(doc, 0, cbm_json_writer_allocator(), NULL, NULL); |
| 288 | yyjson_mut_doc_free(doc); |
| 289 | return reply; |
| 290 | } |
| 291 | |
| 292 | /* Compatibility endpoint: original JSON lines, now from the authoritative |
| 293 | * journal. Bound both rows and bytes; export-file rotation cannot change them. */ |
no test coverage detected