Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hbagdi/y2j

Convert YAML to JSON
https://github.com/hbagdi/y2j

cli converter yaml-to-json

Last synced: about 2 months ago
JSON representation

Convert YAML to JSON

Awesome Lists containing this project

README

        

# y2j - a YAML to JSON converter

Why?
Because writing nested YAML by hand during development and testing is
easier than JSON.

## Install

### macOS

```shell
brew install hbagdi/tap/y2j
```

### Linux

Navigate to the [release page](https://github.com/hbagdi/y2j/releases/tag/v1.0.0)
and install using a Debian or RPM package.
Alternatively, you can take the `.tar.gz` file and install the binary in your $PATH.

## Usage

```shell
echo "foo: bar" | y2j | http httpbin.org/post
```