{"ast_node_type":"function","tokens":[{"end":80,"kind":"keyword","start":0,"text":"fn"}]}
    fn emit_diagnostic(&mut self, diag: crate::DiagInner, registry: &Registry) {
impl Emitter for JsonEmitter {
        let data = Diagnostic::from_errors_diagnostic(diag, self, registry);