pub fn report_to_json(
report: &ValidationReport,
view: &dyn IssueView,
narrator: &dyn IssueNarrator,
) -> ValueExpand description
A report rendered for transport: every issue keeps message, code and
category fields, narrated in the given view, alongside its structured
kind.
The HTTP API and mako’s proto are display boundaries — the type has no message, code or category, but a JSON response does.