pub fn parse_json(
early_dcx: &EarlyDiagCtxt,
matches: &Matches,
is_nightly_build: bool,
) -> JsonConfigExpand description
Parse the --json flag.
The first value returned is how to render JSON diagnostics, and the second is whether or not artifact notifications are enabled.