Documentation ¶
Overview ¶
Yaml2json converts YAML input to JSON output.
Usage:
yaml2json [-o output] [file...]
Yaml2json reads the named files, or else standard input, as YAML input and prints that data in JSON form to standard output.
The -o flag specifies the name of a file to write instead of using standard output.
Example ¶
To print a YAML file as JSON:
yaml2json data.yaml
To convert one:
yaml2json -o data.json data.yaml
Click to show internal directories.
Click to hide internal directories.