[][src]Function rustc_ap_rustc_session::config::parse_json

pub fn parse_json(matches: &Matches) -> (HumanReadableErrorType, bool)

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.