Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/st3iny/yaml-to-json
Convert yaml to json and vice versa.
https://github.com/st3iny/yaml-to-json
Last synced: 8 days ago
JSON representation
Convert yaml to json and vice versa.
- Host: GitHub
- URL: https://github.com/st3iny/yaml-to-json
- Owner: st3iny
- License: gpl-3.0
- Created: 2022-06-09T11:38:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-16T10:21:38.000Z (3 months ago)
- Last Synced: 2024-08-16T11:38:39.650Z (3 months ago)
- Language: Rust
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yaml-to-json
Convert yaml to json and vice versa.
The project consists of two binaries y2j and j2y.
The first one will convert yaml to json and the second one json to yaml.They both have a similar command line interface and will read from stdin by default.
Currently, both binaries can only output to stdout.
Run `y2j --help` or `j2y --help` for more information.## Build
Both binaries can be built using cargo.
Run `cargo build --release` to build release binaries.
The binaries will be available at `target/release/y2j` and `target/release/j2y`.