yaml2json

command module
v0.0.0-...-9e80811 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL