Yaml
Index¶
yaml::to_json¶
Convert YAML to JSON. Reads from stdin or a file argument. Output: stdout — JSON equivalent of the YAML input
Arguments¶
- $1 (YAML): file path (optional; reads stdin if omitted)
yaml::from_json¶
Convert JSON to YAML. Reads from stdin or a file argument. Output: stdout — YAML equivalent of the JSON input
Arguments¶
- $1 (JSON): file path (optional; reads stdin if omitted)