R/export_json.R
write_krt_yaml.Rd
Write a KRT to canonical YAML
write_krt_yaml(x, path = NULL)
A krt_tbl.
Output file path, or NULL to return the YAML as a string.
NULL
The YAML string (invisibly, the path when written to a file).
cat(substr(write_krt_yaml(krt_example), 1, 40)) #> schema_version: 1.0.0 #> profile: generic #> t