An open API service indexing awesome lists of open source software.

https://github.com/mhutter/yaml2json

Convert YAML to JSON
https://github.com/mhutter/yaml2json

cli golang json yaml

Last synced: 5 months ago
JSON representation

Convert YAML to JSON

Awesome Lists containing this project

README

          

# yaml2json

[![Build Status](https://travis-ci.com/mhutter/yaml2json.svg?branch=master)](https://travis-ci.com/mhutter/yaml2json)

Convert YAML to JSON

## Usage

$ yaml2json [] [infile [outfile]]

ARGUMENTS:
infile
File to read from (defaults to STDIN)

outfile
File to write to (defaults to STDOUT)

FLAGS:
-p Pretty-print (indent) output
-v Print version and exit

## Installation

**Homebrew tap** (macOS)

brew install mhutter/tap/yaml2json

**go get** (any OS)

go get -u github.com/mhutter/yaml2json

Or [download a pre-built binary](https://github.com/mhutter/yaml2json/releases).

## License

MIT (see LICENSE)

---
> [Manuel Hutter](https://hutter.io) -
> GitHub [@mhutter](https://github.com) -
> Twitter [@dratir](https://twiter.com/dratir)