Skip to main content

Module export

Module export 

Source
Expand description

Export renderers for a ReviewDocument: Markdown, CSV, and the canonical JSON. Pure string builders — deterministic given the document (which ReviewDocument::sort keeps in canonical order).

Functions§

to_csv
Spreadsheet export: RFC 4180 (quoted fields, CRLF line endings).
to_json
Lossless export: the canonical pretty JSON of the whole document. This is the only format merge/import accepts back.
to_markdown
Human/agent-friendly export: comments grouped by file.