pub fn yaml_to_tsv(yaml: &str) -> Result<String, Box<dyn Error>>Expand description
Converts YAML to TSV by composing yaml_to_json and json_to_tsv.
ยงExamples
use sheeter_engine::yaml_to_tsv;
let yaml = "- name: Alice\n age: '30'\n";
let tsv = yaml_to_tsv(yaml).unwrap();
assert_eq!(tsv, "name\tage\nAlice\t30\n");