Module json

Source
Expand description

A JSON emitter for errors.

This works by converting errors to a simplified structural format (see the structs at the start of the file) and then serializing them. These should contain as much information about the error as possible.

The format of the JSON output should be considered unstable. For now the structs at the end of this file (Diagnostic*) specify the error format.

Structsยง

ArtifactNotification ๐Ÿ”’
Diagnostic ๐Ÿ”’
DiagnosticCode ๐Ÿ”’
DiagnosticSpan ๐Ÿ”’
DiagnosticSpanLine ๐Ÿ”’
DiagnosticSpanMacroExpansion ๐Ÿ”’
FutureBreakageItem ๐Ÿ”’
FutureIncompatReport ๐Ÿ”’
JsonEmitter
UnusedExterns ๐Ÿ”’

Enumsยง

EmitTyped ๐Ÿ”’