pub fn render_stdout(result: &FmtResult, json: bool) -> String
Render the fmt result for stdout.
If json is true emits a JSON object; otherwise a one-line human message.
json