View source: R/yaml-json-conversion.R
Convert a yaml schema to JSON schema and write to file.
1 | yaml_to_json_file(yaml_path, json_path, name = NA)
|
yaml_path |
Path to the yaml file |
json_path |
JSON output file path |
name |
Name of the schema to return. This is needed if there are multiple sections of the yaml file and only a single section that has the schema needs to be returned. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.