/json2toml

easily convert json files to toml format

Primary LanguageRustMIT LicenseMIT

json2toml

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"