Skip to content

Converts JSON to TOML format. Preserves ordering and adds indentation.

Notifications You must be signed in to change notification settings

max-fatouros/json-to-toml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

json-to-toml

Converts JSON to TOML format. Preserves ordering and adds indentation.

Converts the values from keys named "note" into comments, replaces null-types with comments.

Example

JSON (input) TOML (output)
"person":
{
  "Note": "this is a person",
  "age": 22,
  "income": null
}
# this is a person
[person]
age = 22
# income

How to run

Run main.py, then choose one or more JSON file to convert using the file selector.

About

Converts JSON to TOML format. Preserves ordering and adds indentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages