Skip to main content

set_json_mode

Function set_json_mode 

Source
pub fn set_json_mode(enabled: bool)
Expand description

Set JSON mode for the current process.

Call this at the start of command handling if --json flag is set.