Function run_with_json 

Source
pub fn run_with_json(json: bool) -> Result<()>