yaml_to_json_file: Convert yaml to JSON schema file

Description Usage Arguments

View source: R/yaml-json-conversion.R

Description

Convert a yaml schema to JSON schema and write to file.

Usage

1
yaml_to_json_file(yaml_path, json_path, name = NA)

Arguments

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.


Sage-Bionetworks/schemann documentation built on Dec. 18, 2021, 12:04 p.m.