Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/znx3p0/vielsprachig
file format translator; JSON -> Yaml and more
https://github.com/znx3p0/vielsprachig
json json2yaml rust toml yaml
Last synced: about 1 month ago
JSON representation
file format translator; JSON -> Yaml and more
- Host: GitHub
- URL: https://github.com/znx3p0/vielsprachig
- Owner: znx3p0
- Created: 2021-09-10T01:31:34.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-10T02:12:05.000Z (over 3 years ago)
- Last Synced: 2024-10-24T15:39:17.776Z (about 2 months ago)
- Topics: json, json2yaml, rust, toml, yaml
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vielsprachig | vsp
## Command utility that translates file formats
```bash
# transpiles Cargo.toml to json and writes it under cargo.json
# the file formats are inferred, but they can be overriden.
vsp Cargo.toml cargo.json# the f stands for `from` and t stands for `to`
vsp Cargo.toml cargo.yaml -f toml -t json # writes json output to cargo.yaml# vsp can also be piped if no input and output is provided
# file formats need to be specified since they cannot be inferred.
cat Cargo.toml | vsp -f toml -t yaml > cargo.yaml
```The current input options and their inferred extensions are:
- Json
- .json
- Yaml
- .yaml or .yml
- Cbor
- .cb or .cbor
- Ron
- .ron
- Toml
- .toml
- Bson
- .bson or .bsThe current output options are:
- Pickle
- .pickle or .pkl
- Bincode
- .bc or .bincode
- Postcard
- .pc or .postcard
- Flexbuffers
- .fb or .flexbuffers
- Json
- .json
- PrettyJson
- .hjson
- Yaml
- .yaml or .yml
- Cbor
- .cbor or .cb
- Ron
- .ron
- PrettyRon
- .hron
- Toml
- .toml
- Bson
- .bs or .bson