Crates.io | json2toml |
lib.rs | json2toml |
version | 0.1.2 |
source | src |
created_at | 2023-01-13 11:26:29.281862 |
updated_at | 2024-12-05 01:05:23.448176 |
description | A simple CLI tool to convert json files into toml format. |
homepage | |
repository | https://github.com/voidei/json2toml |
max_upload_size | |
id | 757860 |
size | 19,293 |
A simple CLI tool that converts json files to toml files.
The created file's name matches the input file,
but with the .toml
extension instead of .json
.
Inspired heavily by toml2json.
Usage:
json2toml [filename]
Example:
Input:
// file.json
{
"key": "value"
}
Output:
# output.toml
key = "value"