Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hbagdi/y2j
- Owner: hbagdi
- License: apache-2.0
- Created: 2021-10-08T05:29:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-22T06:51:30.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T12:43:42.856Z (7 months ago)
- Topics: cli, converter, yaml-to-json
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- 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
```