pub fn dump_strings<T: Config>(strings_config: &T, output: PathBuf) -> ErrorResult {
    let output_file = File::create(output)?;
    let vector_writer = Rc::new(RefCell::new(JsonWriter::new(output_file)));
    _strings(strings_config, vector_writer.clone())?;
    vector_writer.borrow_mut().finish()?;
    Ok(())
}
/// Dump strings from binary data to json file.
///
/// Examples:
/// ```
/// use std::path::PathBuf;
/// use rust_strings::{BytesConfig, dump_strings};
///
/// let config = BytesConfig::new(b"test\x00".to_vec());
/// dump_strings(&config, PathBuf::from("strings.json"));
///
Dump strings from binary data to json file.


Dump strings from binary data to json file .
pub fn dump_strings<T: Config>(strings_config: &T, output: PathBuf) -> ErrorResult {
    let output_file = File::create(output)?;
    let vector_writer = Rc::new(RefCell::new(JsonWriter::new(output_file)));
    _strings(strings_config, vector_writer.clone())?;
    vector_writer.borrow_mut().finish()?;
    Ok(())
}
pub fn dump_strings < T : Config > ( strings_config : & T , output : PathBuf ) -> ErrorResult { let output_file = File :: create ( output ) ? ; let vector_writer = Rc :: new ( RefCell :: new ( JsonWriter :: new ( output_file ) ) ) ; _strings ( strings_config , vector_writer . clone ( ) ) ? ; vector_writer . borrow_mut ( ) . finish ( ) ? ; Ok ( ( ) ) }
Dump strings from binary data to json file.
Dump strings from binary data to json file .
strings_config
&T
output
PathBuf