Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mqudsi/toml2json
toml2json and json2toml, in rust
https://github.com/mqudsi/toml2json
Last synced: 6 days ago
JSON representation
toml2json and json2toml, in rust
- Host: GitHub
- URL: https://github.com/mqudsi/toml2json
- Owner: mqudsi
- Created: 2019-12-14T21:35:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-14T21:15:15.000Z (over 1 year ago)
- Last Synced: 2024-04-14T06:43:56.660Z (7 months ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `toml2json` and `json2toml`
This repository houses the command line tools `toml2json` and `json2toml` which can be used to convert a (configuration) file from TOML to JSON or vice-versa.
A popular use is to maintain a configuration file for an app that consumes (for example) JSON configuration files in a configuration language that you prefer or are more comfortable with (say TOML).
The tool tries to round-trip between the formats losslessly where possible.
## Installation
The tool can currently be installed via the `cargo` package manager:
```
cargo install toml2json
```## License
This utility is developed by Mahmoud Al-Qudsi of NeoSmart Technologies and is provided to the public free of charge with the hope that it might be beneficial, but without warranty. The source is released under the MIT public license.