Function get_json_block

Source
pub fn get_json_block(in_str: &str) -> Result<Value, TerraRustCLIError>
Expand description

convert a input parameter into json. input can either be a json string, a file, or ‘-’ to read stdin.