Function generate_json_diagnostics

Source
pub fn generate_json_diagnostics(
    diagnostics: &Diagnostics,
    include_warnings: bool,
) -> String