Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/morikuni/y2j2y
- Owner: morikuni
- License: mit
- Created: 2017-02-07T05:45:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-07T06:27:53.000Z (almost 8 years ago)
- Last Synced: 2024-08-03T23:25:46.755Z (6 months ago)
- Topics: cli, go, json, json2yaml, yaml, yaml2json
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - y2j2y
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
```