voidei / json2toml

easily convert json files to toml format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

easily convert json files to toml format

License:MIT License


Languages

Language:Rust 100.0%