An open API service indexing awesome lists of open source software.

https://github.com/garrison/toml2json

toml <=> json conversion scripts
https://github.com/garrison/toml2json

Last synced: 9 months ago
JSON representation

toml <=> json conversion scripts

Awesome Lists containing this project

README

          

toml2json
=========

I needed a script I could run from the commandline to convert toml_ to
json_ (and vice versa).

This script is written in python, and depends on the `toml package
`_

Because ``datetime``'s are not supported in JSON, they do not make the
roundtrip properly. After the toml => json => toml conversion, each
``datetime`` will be a string, just like when using the web service
http://toml-to-json.matiaskorhonen.fi/

EDIT: I no longer use this. See https://github.com/dbohdan/remarshal for a replacement.

.. _toml: https://github.com/toml-lang/toml
.. _json: http://json.org/