pub fn sbp2json<R, W, F>( input: R, output: W, formatter: F, buffered: bool, error_handler_opt: impl Into<ErrorHandlerOptions> ) -> Result<()>where R: Read, W: Write, F: Formatter + Clone,