https://github.com/hbagdi/y2j
Convert YAML to JSON
https://github.com/hbagdi/y2j
cli converter yaml-to-json
Last synced: 29 days ago
JSON representation
Convert YAML to JSON
- Host: GitHub
- URL: https://github.com/hbagdi/y2j
- Owner: hbagdi
- License: apache-2.0
- Created: 2021-10-08T05:29:16.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-22T06:51:30.000Z (over 3 years ago)
- Last Synced: 2025-11-17T02:16:12.195Z (8 months ago)
- Topics: cli, converter, yaml-to-json
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```