Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/morikuni/y2j2y

yaml to json / json to yaml converter y(*^J^*)y
https://github.com/morikuni/y2j2y

cli go json json2yaml yaml yaml2json

Last synced: 2 months ago
JSON representation

yaml to json / json to yaml converter y(*^J^*)y

Awesome Lists containing this project

README

        

# y2j2y
[![Build Status](https://travis-ci.org/morikuni/y2j2y.svg?branch=master)](https://travis-ci.org/morikuni/y2j2y)

yaml to json / json to yaml converter.

## Install

Download from [release page](https://github.com/morikuni/y2j2y/releases).

## Example

```sh
$ cat yaml.yaml
yaml:
hello: world
array:
- 1
- 2
- 3

$ cat yaml.yaml | yaml2json
{"yaml":{"hello":"world","array":[1,2,3]}}

% cat yaml.yaml | yaml2json | json2yaml
yaml:
array:
- 1
- 2
- 3
hello: world
```