parse_json

Function parse_json 

Source
pub fn parse_json(
    early_dcx: &EarlyDiagCtxt,
    matches: &Matches,
    is_nightly_build: bool,
) -> JsonConfig
Expand 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.